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]
    struct Control
    @nogc nothrow @property
    Vector2
    rectPivotOffset
    ()
  2. Vector2 rectPivotOffset [@property setter]

Meta