indirect type spec for Pattern

This commit is contained in:
Jan Petykiewicz 2023-01-12 23:04:59 -08:00 committed by jan
parent 52f0b4aa93
commit 5f35e8c8e3

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.