diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-09-23 19:38:27 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-09-23 20:20:48 -0400 |
commit | d40ea6f9615872cc1cfa8a764671c4e02a609823 (patch) | |
tree | cb29bc013e5d66b5ecb229a67c21dfce72d531cb /libdimension-python | |
parent | 5f46020e7090e28495d2b7e66e58f2c74698917a (diff) | |
download | dimension-d40ea6f9615872cc1cfa8a764671c4e02a609823.tar.xz |
Document the _Transformable methods.
Diffstat (limited to 'libdimension-python')
-rw-r--r-- | libdimension-python/dimension.pyx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx index 0ab47a8..c90bf9e 100644 --- a/libdimension-python/dimension.pyx +++ b/libdimension-python/dimension.pyx @@ -363,10 +363,13 @@ def rotate(*args, **kwargs): cdef class _Transformable: def scale(self, *args, **kwargs): + """Scale. Equivalent to self.transform(scale(...)).""" return self.transform(scale(*args, **kwargs)) def translate(self, *args, **kwargs): + """Translate. Equivalent to self.transform(translate(...)).""" return self.transform(translate(*args, **kwargs)) def rotate(self, *args, **kwargs): + """Rotate. Equivalent to self.transform(rotate(...)).""" return self.transform(rotate(*args, **kwargs)) ########## |