OffsetExtension extension
- on
Methods
-
toPoint(
) → Point< num> -
Available on Offset, provided by the OffsetExtension extension
Creates a Point from the Offset -
toRect(
) → Rect -
Available on Offset, provided by the OffsetExtension extension
Creates a Rect starting in origin and going the Offset -
toSize(
) → Size -
Available on Offset, provided by the OffsetExtension extension
Creates a Size from the Offset -
toVector2(
) → Vector2 -
Available on Offset, provided by the OffsetExtension extension
Creates an Vector2 from the Offset