graphinglib.Ellipse.create_difference#
- Ellipse.create_difference(other: Self, copy_style: bool = False) Self#
Returns the difference of the polygon with another polygon.
- Parameters:
- other
Polygon The other polygon to subtract from the current polygon.
- copy_stylebool, optional
If
True, the current polygon’s parameters are copied to the new polygon. IfFalse, the new polygon will have default parameters. Default isFalse.
- other
- Returns:
PolygonThe difference of the two polygons.