From 98a4c38bc17d928cf3ddf509879566b6d2532fac Mon Sep 17 00:00:00 2001 From: Charles Merriam Date: Sun, 1 Feb 2015 21:47:06 -0800 Subject: [PATCH] examples/canvas/rotation.py Added docstring. --- examples/canvas/rotation.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/canvas/rotation.py b/examples/canvas/rotation.py index 19241f63f..8a09a7765 100644 --- a/examples/canvas/rotation.py +++ b/examples/canvas/rotation.py @@ -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() -