package js.html.svg
Available on js
SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute.
Documentation SVGTransform by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
staticinlineread onlySVG_TRANSFORM_MATRIX:Int = 1staticinlineread onlySVG_TRANSFORM_ROTATE:Int = 4staticinlineread onlySVG_TRANSFORM_SCALE:Int = 3staticinlineread onlySVG_TRANSFORM_SKEWX:Int = 5staticinlineread onlySVG_TRANSFORM_SKEWY:Int = 6staticinlineread onlySVG_TRANSFORM_TRANSLATE:Int = 2staticinlineread onlySVG_TRANSFORM_UNKNOWN:Int = 0read onlyangle:Floatread onlymatrix:Matrixread onlytype: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 |
|---|
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/Transform.html