public Shape2D GetShape() { var shape = new RectangleShape2D(); shape.SetExtents(new Vector2(Width / 2, Height / 2)); return(shape); }