graphinglib.Rectangle.create_centroid_point#

Rectangle.create_centroid_point() → Point#

Returns the center point of the polygon.

Returns:
Point

The center point of the polygon.