diff --git a/masque/shapes/polygon.py b/masque/shapes/polygon.py index eb1bdf8..afb47a6 100644 --- a/masque/shapes/polygon.py +++ b/masque/shapes/polygon.py @@ -106,7 +106,7 @@ class Polygon(Shape): [+1, +1], [+1, -1]], dtype=float) vertices = 0.5 * side_length * norm_square - poly = Polygon(vertices, offset, layer, dose) + poly = Polygon(vertices, offset=offset, layer=layer, dose=dose) poly.rotate(rotation) return poly @@ -133,7 +133,7 @@ class Polygon(Shape): [-lx, +ly], [+lx, +ly], [+lx, -ly]], dtype=float) - poly = Polygon(vertices, offset, layer, dose) + poly = Polygon(vertices, offset=offset, layer=layer, dose=dose) poly.rotate(rotation) return poly