CoordinateSystem

Represents a system that understands its coordinate spaces and how spatial offsets are interpreted and transformed across them.

Implementations can map positions between spaces (such as viewport and image), typically using transformation data like scale & pan values.

Inheritors

Functions

Link copied to clipboard

Converts this SpatialOffset to a raw Offset in the target coordinate space.

Link copied to clipboard
abstract fun SpatialRect.rectIn(target: CoordinateSpace): Rect

Convert this SpatialRect to a raw Rect in the target coordinate space.

Link copied to clipboard

Resolve this SpatialRect's size in the target coordinate space.