summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdimension-python/dimension.pyx3
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))
##########