OffsetExtension extension

on

Methods

toPoint() Point<num>
Creates a Point from the Offset
toRect() Rect
Creates a Rect starting in origin and going the Offset
toSize() Size
Creates a Size from the Offset
toVector2() Vector2
Creates an Vector2 from the Offset