SVGMatrix class
SVGMatrix class
Many of SVG’s graphics operations utilize 2x3 matrices of the form: [a c e] [b d f] which, when expanded into a 3x3 matrix for the purposes of matrix arithmetic, become: [a c e] [b d f] [0 0 1]
Inheritance: SVGMatrix
→
SVGValueType
→
DOMObject
The SVGMatrix type exposes the following members:
Properties
Property | Description |
---|---|
a | The A component of the matrix. |
b | The B component of the matrix. |
c | The C component of the matrix. |
d | The D component of the matrix. |
e | The E component of the matrix. |
f | The F component of the matrix. |
Methods
Method | Description |
---|---|
get_platform_type | This method is used to retrieve ECMAScript object Type. |
multiply | Performs matrix multiplication. This matrix is post-multiplied by another matrix, returning the resulting new matrix. |
translate | Post-multiplies a translation transformation on the current matrix and returns the resulting matrix. |
scale | Post-multiplies a uniform scale transformation on the current matrix and returns the resulting matrix. |
scale_non_uniform | Post-multiplies a non-uniform scale transformation on the current matrix and returns the resulting matrix. |
rotate | Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix. |
skew_x | Post-multiplies a skewX transformation on the current matrix and returns the resulting matrix. |
skew_y | Post-multiplies a skewY transformation on the current matrix and returns the resulting matrix. |
See Also
- module
aspose.svg.datatypes
- class
DOMObject
- class
SVGMatrix
- class
SVGValueType