Return the readonly :class:`Path` of the unit circle. For most cases, :func:`Path.circle` will be what you want.
(cls)
| 702 | |
| 703 | @classmethod |
| 704 | def unit_circle(cls): |
| 705 | """ |
| 706 | Return the readonly :class:`Path` of the unit circle. |
| 707 | |
| 708 | For most cases, :func:`Path.circle` will be what you want. |
| 709 | |
| 710 | """ |
| 711 | if cls._unit_circle is None: |
| 712 | cls._unit_circle = cls.circle(center=(0, 0), radius=1, |
| 713 | readonly=True) |
| 714 | return cls._unit_circle |
| 715 | |
| 716 | @classmethod |
| 717 | def circle(cls, center=(0., 0.), radius=1., readonly=False): |