graphinglib.Rectangle.get_centroid_coordinates#

Rectangle.get_centroid_coordinates() tuple[float, float]#

Returns the center coordinates of the polygon.

Returns:
tuple[float, float]

The center coordinates of the polygon.