package js.html.svg
Available on js
SVGTransformis the interface for one of the component transformations within anSVGTransformList; thus, anSVGTransformobject corresponds to a single component (e.g.,scale(…)ormatrix(…)) within atransformattribute.Documentation SVGTransform by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only angle:Floatread only matrix:Matrixread only type:IntsetMatrix (matrix:Matrix):VoidThrows:
null |
DOMError |
|---|
setRotate (angle:Float, cx:Float, cy:Float):VoidThrows:
null |
DOMError |
|---|
setScale (sx:Float, sy:Float):VoidThrows:
null |
DOMError |
|---|
setSkewX (angle:Float):VoidThrows:
null |
DOMError |
|---|
setSkewY (angle:Float):VoidThrows:
null |
DOMError |
|---|
setTranslate (tx:Float, ty:Float):VoidThrows:
null |
DOMError |
|---|
static inline read only SVG_TRANSFORM_MATRIX:Int = 1 static inline read only SVG_TRANSFORM_ROTATE:Int = 4 static inline read only SVG_TRANSFORM_SCALE:Int = 3 static inline read only SVG_TRANSFORM_SKEWX:Int = 5 static inline read only SVG_TRANSFORM_SKEWY:Int = 6 static inline read only SVG_TRANSFORM_TRANSLATE:Int = 2 static inline read only SVG_TRANSFORM_UNKNOWN:Int = 0
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/Transform.html