sealed
trait Coordinate
A Coordinate represents a position on an axis relative to a bounding box's origin. Coordinates can be specified as a (1D) point or as a percentage relative to the edge of the bounding box.
For example, Coordinate.point(10)
is ten units from the origin in the
positive direction, while Coordinate.percent(100)
is the positive (top or
right) edge of the bounding box.
- Companion
- object