center property
Vector2
center
inherited
The position of the center of the component's bounding rectangle in the parent's coordinates.
Implementation
Vector2 get center => positionOfAnchor(Anchor.center);
void
center=(Vector2 point)
inherited
Implementation
set center(Vector2 point) {
position += point - center;
}