indirect type spec for Pattern

libcentric
Jan Petykiewicz 1 year ago
parent 9bb7ddbb79
commit 14e9a7ccbe

@ -194,7 +194,7 @@ class Pattern(AnnotatableImpl, Mirrorable, metaclass=AutoSlots):
(shape.manhattanize(grid_x, grid_y) for shape in old_shapes)))
return self
def as_polygons(self, library: Mapping[str, Pattern]) -> List[NDArray[numpy.float64]]:
def as_polygons(self, library: Mapping[str, 'Pattern']) -> List[NDArray[numpy.float64]]:
"""
Represents the pattern as a list of polygons.

Loading…
Cancel
Save