test-kivy-app/kivy_venv/share/kivy-examples/android/compass/compass.kv
2024-09-15 15:12:16 +03:00

26 lines
456 B
Plaintext

#:kivy 1.7.0
FloatLayout:
canvas:
Color:
rgb: .98, .98, .98
Rectangle:
size: self.size
Image:
source: 'rose.png'
Image:
source: 'needle.png'
canvas.before:
PushMatrix
Rotate:
angle: app.needle_angle
axis: 0, 0, 1
origin: self.center
canvas.after:
PopMatrix