mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-30 01:00:37 +01:00
19 lines
521 B
Plaintext
19 lines
521 B
Plaintext
|
<MDSpinner>
|
||
|
canvas.before:
|
||
|
PushMatrix
|
||
|
Rotate:
|
||
|
angle: self._rotation_angle
|
||
|
origin: self.center
|
||
|
canvas:
|
||
|
Color:
|
||
|
rgba: self.color if self.color else self.theme_cls.primary_color
|
||
|
a: self._alpha
|
||
|
SmoothLine:
|
||
|
cap: 'square'
|
||
|
width: root.line_width
|
||
|
circle:
|
||
|
self.center_x, self.center_y, self.width / 2, \
|
||
|
self._angle_start, self._angle_end
|
||
|
canvas.after:
|
||
|
PopMatrix
|