Return a `.Path` for the current hatch.
(self, density=6.0)
| 967 | return self._hatch |
| 968 | |
| 969 | def get_hatch_path(self, density=6.0): |
| 970 | """Return a `.Path` for the current hatch.""" |
| 971 | hatch = self.get_hatch() |
| 972 | if hatch is None: |
| 973 | return None |
| 974 | return Path.hatch(hatch, density) |
| 975 | |
| 976 | def get_hatch_color(self): |
| 977 | """Get the hatch color.""" |