Skip to content

Analyze: helper APIs for Rectangles and Points #320

@amartya4256

Description

@amartya4256

Description
We need to extend the APIs of Rectangle and Point and their sub-classes to help consumers use them better.
Following are the list of Ideas:

  1. Clone the object with offsets in fields like x, y, width, height
  2. Setters and getters for fields instead of direct access.
  3. Utility methods to get (top-left) Point from rectangle.
  4. ...

These APIs will help consumers use the full-potential of the Hi-DPI and the multiMonitorCoordinateSystem and prevent any problems while working on multi-monitors with monitor specific scaling.

Metadata

Metadata

Assignees

Labels

EnhancementA Request for an Enhancement of an Existing FeatureHiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

Projects

Status

🔖 Ready: Atomic

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions