Package-level declarations

Types

Link copied to clipboard
interface CoordinateSpace

Identifies a coordinate space (e.g., viewport or zoomable image) that provides context to SpatialOffset values. The conversion between coordinate spaces is provided by a CoordinateSystem.

Link copied to clipboard

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

Link copied to clipboard
class SpatialOffset(offset: Offset, val space: CoordinateSpace)

A 2D offset bound to a specific CoordinateSpace inside a CoordinateSystem.

Link copied to clipboard

A 2D rectangle bound to a specific CoordinateSpace inside a CoordinateSystem.

Functions

Link copied to clipboard

If this Offset then this is returned, otherwise block is executed and its result is returned.