graphinglib.Circle.scale#
- Circle.scale(x_scale: float, y_scale: float, center: tuple[float, float] | None = None) Self #
Scales the polygon by the specified factors.
- Parameters:
- x_scalefloat
The factor by which to scale the polygon in the x direction.
- y_scalefloat
The factor by which to scale the polygon in the y direction.
- centertuple[float, float], optional
The center of the scaling. If not specified, the centroid of the polygon is used.