Control.rectPivotOffset

By default, the node's pivot is its top-left corner. When you change its rectScale, it will scale around this pivot. Set this property to rectSize / 2 to center the pivot in the node's rectangle.

  1. Vector2 rectPivotOffset [@property getter]
  2. Vector2 rectPivotOffset [@property setter]
    struct Control
    @nogc nothrow @property
    void
    rectPivotOffset
    (
    Vector2 v
    )

Meta