graphinglib.Polygon.get_centroid_coordinates#

Polygon.get_centroid_coordinates() tuple[float, float][source]#

Returns the center coordinates of the polygon.

Returns:
tuple[float, float]

The center coordinates of the polygon.