svg.Matrix

Matrix

package js-html-svg

Available on js

Many of SVG's graphics operations utilize 2x3 matrices of the form:

Documentation SVGMatrix by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

a:Float

b:Float

c:Float

d:Float

e:Float

f:Float

Methods

flipX ():Matrix

flipY ():Matrix

inverse ():Matrix

Throws:

null DOMError

multiply (secondMatrix:Matrix):Matrix

rotate (angle:Float):Matrix

rotateFromVector (x:Float, y:Float):Matrix

Throws:

null DOMError

scale (scaleFactor:Float):Matrix

scaleNonUniform (scaleFactorX:Float, scaleFactorY:Float):Matrix

skewX (angle:Float):Matrix

Throws:

null DOMError

skewY (angle:Float):Matrix

Throws:

null DOMError

translate (x:Float, y:Float):Matrix

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/svg/Matrix.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部