diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-07-05 01:48:38 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-07-05 01:48:38 +0200 |
commit | 32b8e6c0ebab0409586fa91ab3b11918aa4bfc96 (patch) | |
tree | 09db3509547286c11c7f801bf95d4648ae9d884a /README.md | |
parent | d0853322f95b14fa1c4b87507368a11e6db94b46 (diff) | |
download | svg.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.md | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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: |