The point halfway between the left and right and the top and bottom edges of this rectangle.
Source
Point get center => new Point(left + width / 2.0, top + height / 2.0);
The point halfway between the left and right and the top and bottom edges of this rectangle.
Point get center => new Point(left + width / 2.0, top + height / 2.0);