aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 63f1d0b..95dcc80 100644
--- a/README.md
+++ b/README.md
@@ -1685,7 +1685,7 @@ __Important__: Mozilla browsers include stroke widths where other browsers do no
__`returns`: `SVG.RBox`__
### ctm()
-Retreives the current transform matrix of the element:
+Retreives the current transform matrix of the element to the root coordinate system:
```javascript
path.ctm()
@@ -1693,6 +1693,16 @@ path.ctm()
__`returns`: `SVG.Matrix`__
+### matrixify()
+Merges all transformations of the element into one single matrix which is returned
+
+```javascript
+path.matrixify()
+```
+
+__`returns`: `SVG.Matrix`__
+
+
### inside()
To check if a given point is inside the bounding box of an element you can use the `inside()` method: