indirect type spec for Pattern

This commit is contained in:
Jan Petykiewicz 2023-01-12 23:04:59 -08:00
parent 9bb7ddbb79
commit 14e9a7ccbe

View File

@ -194,7 +194,7 @@ class Pattern(AnnotatableImpl, Mirrorable, metaclass=AutoSlots):
(shape.manhattanize(grid_x, grid_y) for shape in old_shapes))) (shape.manhattanize(grid_x, grid_y) for shape in old_shapes)))
return self 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. Represents the pattern as a list of polygons.