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]

public class SVGMatrix : SVGValueType

Properties

NameDescription
A { get; set; }The A component of the matrix.
B { get; set; }The B component of the matrix.
C { get; set; }The C component of the matrix.
D { get; set; }The D component of the matrix.
E { get; set; }The E component of the matrix.
F { get; set; }The F component of the matrix.

Methods

NameDescription
dispose()Releases unmanaged and - optionally - managed resources.
getPlatformType()This method is used to retrieve the ECMAScript object .
multiply(SVGMatrix)Performs matrix multiplication. This matrix is post-multiplied by another matrix, returning the resulting new matrix.
rotate(float)Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix.
scale(float)Post-multiplies a uniform scale transformation on the current matrix and returns the resulting matrix.
scaleNonUniform(float, float)Post-multiplies a non-uniform scale transformation on the current matrix and returns the resulting matrix.
skewX(float)Post-multiplies a skewX transformation on the current matrix and returns the resulting matrix.
skewY(float)Post-multiplies a skewY transformation on the current matrix and returns the resulting matrix.
toString()Returns a String that represents this instance.
translate(float, float)Post-multiplies a translation transformation on the current matrix and returns the resulting matrix.

See Also