don't rename shape.to_polygons() args
This commit is contained in:
parent
e5f28a7a92
commit
2259e7987b
@ -222,8 +222,8 @@ class Polygon(Shape):
|
|||||||
|
|
||||||
|
|
||||||
def to_polygons(self,
|
def to_polygons(self,
|
||||||
_poly_num_points: int = None,
|
poly_num_points: int = None, # unused
|
||||||
_poly_max_arclen: float = None,
|
poly_max_arclen: float = None, # unused
|
||||||
) -> List['Polygon']:
|
) -> List['Polygon']:
|
||||||
return [copy.deepcopy(self)]
|
return [copy.deepcopy(self)]
|
||||||
|
|
||||||
|
@ -96,8 +96,8 @@ class Text(Shape):
|
|||||||
return new
|
return new
|
||||||
|
|
||||||
def to_polygons(self,
|
def to_polygons(self,
|
||||||
_poly_num_points: int = None,
|
poly_num_points: int = None, # unused
|
||||||
_poly_max_arclen: float = None,
|
poly_max_arclen: float = None, # unused
|
||||||
) -> List[Polygon]:
|
) -> List[Polygon]:
|
||||||
all_polygons = []
|
all_polygons = []
|
||||||
total_advance = 0
|
total_advance = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user