summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-07-05 01:48:38 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-07-05 01:48:38 +0200
commit32b8e6c0ebab0409586fa91ab3b11918aa4bfc96 (patch)
tree09db3509547286c11c7f801bf95d4648ae9d884a /README.md
parentd0853322f95b14fa1c4b87507368a11e6db94b46 (diff)
downloadsvg.js-2.0.5.tar.gz
svg.js-2.0.5.zip
Bump 2.0.52.0.5
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: