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.
virtual 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.
override 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