center property

Point get center

The center point of the rectangle

Implementation

Point get center => Point(x + width / 2, y + height / 2);