offset property

NotifyingVector2 get offset

Additional offset applied after all other transforms. Unlike other transforms, this offset is applied in the local coordinate system. For example, an offset of (1, 0) describes a shift by 1 unit along the X axis, however, this shift is applied after that axis was repositioned, rotated and scaled.

The returned vector can be modified by the user, and the changes will be properly applied to the transform matrix.

Implementation

NotifyingVector2 get offset => _offset;
set offset (Vector2 offset)

Implementation

set offset(Vector2 offset) => _offset.setFrom(offset);