self._end = self._direction.rotated(-spread)
self._poly_cache = None
+ @property
+ def spread(self):
+ if not self._direction:
+ return 2 * math.pi
+ return math.fabs(self._start.get_angle_between(self._end))
+
def _set_angle_limits(self, direction, spread):
if direction is None or spread is None:
self._direction = None