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