Return the readonly :class:`Path` of the unit circle. For most cases, :func:`Path.circle` will be what you want.
(cls)
| 846 | |
| 847 | @classmethod |
| 848 | def unit_circle(cls): |
| 849 | """ |
| 850 | Return the readonly :class:`Path` of the unit circle. |
| 851 | |
| 852 | For most cases, :func:`Path.circle` will be what you want. |
| 853 | """ |
| 854 | if cls._unit_circle is None: |
| 855 | cls._unit_circle = cls.circle(center=(0, 0), radius=1, |
| 856 | readonly=True) |
| 857 | return cls._unit_circle |
| 858 | |
| 859 | @classmethod |
| 860 | def circle(cls, center=(0., 0.), radius=1., readonly=False): |