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
- Source:
- Coordinate.scala
Value members
Concrete methods
Evaluate this Coordinate given values for -100% and +100%
Evaluate this Coordinate given values for -100% and +100%
- Source:
- Coordinate.scala