(self, hatch, density)
| 176 | filled = True |
| 177 | |
| 178 | def __init__(self, hatch, density): |
| 179 | self.num_rows = (hatch.count('*')) * density |
| 180 | path = Path.unit_regular_star(5) |
| 181 | self.shape_vertices = path.vertices |
| 182 | self.shape_codes = np.full(len(self.shape_vertices), Path.LINETO, |
| 183 | dtype=Path.code_type) |
| 184 | self.shape_codes[0] = Path.MOVETO |
| 185 | self.shape_codes[-1] = Path.CLOSEPOLY |
| 186 | super().__init__(hatch, density) |
| 187 | |
| 188 | _hatch_types = [ |
| 189 | HorizontalHatch, |