Offset

interface Offset

Stores two values. Convenient for 2D calculations. For example, when you need to shift all points on the plane.

Author

Stanley Wintergreen

Since

0.1.0

See also

Properties

Link copied to clipboard
abstract val dX: Double

Offset along the x-axis.

Link copied to clipboard
abstract val dY: Double

Offset along the y-axis.

Sources

Link copied to clipboard