| 702 | """An abstract base class that provides color, line styles, etc.""" |
| 703 | |
| 704 | def __init__(self): |
| 705 | self._alpha = 1.0 |
| 706 | self._forced_alpha = False # if True, _alpha overrides A from RGBA |
| 707 | self._antialiased = 1 # use 0, 1 not True, False for extension code |
| 708 | self._capstyle = CapStyle('butt') |
| 709 | self._cliprect = None |
| 710 | self._clippath = None |
| 711 | self._dashes = 0, None |
| 712 | self._joinstyle = JoinStyle('round') |
| 713 | self._linestyle = 'solid' |
| 714 | self._linewidth = 1 |
| 715 | self._rgb = (0.0, 0.0, 0.0, 1.0) |
| 716 | self._hatch = None |
| 717 | self._hatch_color = None |
| 718 | self._hatch_linewidth = rcParams['hatch.linewidth'] |
| 719 | self._url = None |
| 720 | self._gid = None |
| 721 | self._snap = None |
| 722 | self._sketch = None |
| 723 | |
| 724 | def copy_properties(self, gc): |
| 725 | """Copy properties from *gc* to self.""" |