don't rename shape.to_polygons() args

This commit is contained in:
Jan Petykiewicz 2019-06-09 23:59:55 -07:00
parent e5f28a7a92
commit 2259e7987b
2 changed files with 4 additions and 4 deletions

View File

@ -222,8 +222,8 @@ class Polygon(Shape):
def to_polygons(self,
_poly_num_points: int = None,
_poly_max_arclen: float = None,
poly_num_points: int = None, # unused
poly_max_arclen: float = None, # unused
) -> List['Polygon']:
return [copy.deepcopy(self)]

View File

@ -96,8 +96,8 @@ class Text(Shape):
return new
def to_polygons(self,
_poly_num_points: int = None,
_poly_max_arclen: float = None,
poly_num_points: int = None, # unused
poly_max_arclen: float = None, # unused
) -> List[Polygon]:
all_polygons = []
total_advance = 0