Transformable.origin

The local origin of the object.

The origin of an object defines the center point for all transformations (position, scale, ratation).

The coordinates of this point must be relative to the top-left corner of the object, and ignore all transformations (position, scale, rotation).

The default origin of a transformable object is (0, 0).

  1. Vector2f origin [@property setter]
  2. Vector2f origin [@property getter]
    interface Transformable
    @property const
    origin
    ()

Meta