examples/canvas/rotation.py Added docstring.

This commit is contained in:
Charles Merriam 2015-02-01 21:47:06 -08:00
parent d00d38559e
commit 98a4c38bc1
1 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,12 @@
'''
Rotation Example
================
This example rotates a button using PushMatrix and PopMatrix. You should see
a static button with the words 'hello world' rotated at a 45 degree angle.
'''
from kivy.app import App
from kivy.lang import Builder
@ -23,4 +32,3 @@ class RotationApp(App):
return Builder.load_string(kv)
RotationApp().run()