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:

Static variables

@:value(1)staticinlineread onlySVG_TRANSFORM_MATRIX:Int = 1

@:value(4)staticinlineread onlySVG_TRANSFORM_ROTATE:Int = 4

@:value(3)staticinlineread onlySVG_TRANSFORM_SCALE:Int = 3

@:value(5)staticinlineread onlySVG_TRANSFORM_SKEWX:Int = 5

@:value(6)staticinlineread onlySVG_TRANSFORM_SKEWY:Int = 6

@:value(2)staticinlineread onlySVG_TRANSFORM_TRANSLATE:Int = 2

@:value(0)staticinlineread onlySVG_TRANSFORM_UNKNOWN:Int = 0

Variables

read onlyangle:Float

read onlymatrix:Matrix

read onlytype:Int

Methods

setMatrix(matrix:Matrix):Void

Throws:

null

DOMError

setRotate(angle:Float, cx:Float, cy:Float):Void

Throws:

null

DOMError

setScale(sx:Float, sy:Float):Void

Throws:

null

DOMError

setSkewX(angle:Float):Void

Throws:

null

DOMError

setSkewY(angle:Float):Void

Throws:

null

DOMError

setTranslate(tx:Float, ty:Float):Void

Throws:

null

DOMError