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