Predicate: does the path need to be filled? An optional argument can be used to specify an alternative _fillcolor, as needed by RendererPdf.draw_markers.
(self, *args)
| 2420 | (len(self._rgb) <= 3 or self._rgb[3] != 0.0)) |
| 2421 | |
| 2422 | def fill(self, *args): |
| 2423 | """ |
| 2424 | Predicate: does the path need to be filled? |
| 2425 | |
| 2426 | An optional argument can be used to specify an alternative |
| 2427 | _fillcolor, as needed by RendererPdf.draw_markers. |
| 2428 | """ |
| 2429 | if len(args): |
| 2430 | _fillcolor = args[0] |
| 2431 | else: |
| 2432 | _fillcolor = self._fillcolor |
| 2433 | return (self._hatch or |
| 2434 | (_fillcolor is not None and |
| 2435 | (len(_fillcolor) <= 3 or _fillcolor[3] != 0.0))) |
| 2436 | |
| 2437 | def paint(self): |
| 2438 | """ |
no outgoing calls
no test coverage detected