Definition
Scalable Vector Graphics (SVG) 2 defines SVGTransform
[Exposed=Window]
interface SVGTransform {
// Transform Types
const unsigned short SVG_TRANSFORM_UNKNOWN = 0;
const unsigned short SVG_TRANSFORM_MATRIX = 1;
const unsigned short SVG_TRANSFORM_TRANSLATE = 2;
const unsigned short SVG_TRANSFORM_SCALE = 3;
const unsigned short SVG_TRANSFORM_ROTATE = 4;
const unsigned short SVG_TRANSFORM_SKEWX = 5;
const unsigned short SVG_TRANSFORM_SKEWY = 6;
readonly attribute unsigned short type;
[SameObject] readonly attribute DOMMatrix matrix;
readonly attribute float angle;
undefined setMatrix(optional DOMMatrix2DInit matrix = {});
undefined setTranslate(float tx, float ty);
undefined setScale(float sx, float sy);
undefined setRotate(float angle, float cx, float cy);
undefined setSkewX(float angle);
undefined setSkewY(float angle);
};
Methods and attributes that return objects implementing SVGTransform
SVGSVGElement.createSVGTransform()
SVGSVGElement.createSVGTransformFromMatrix()
SVGTransformList.initialize()
SVGTransformList.getItem()
SVGTransformList.insertItemBefore()
SVGTransformList.replaceItem()
SVGTransformList.removeItem()
SVGTransformList.appendItem()
SVGTransformList.createSVGTransformFromMatrix()
SVGTransformList.consolidate()