Class XpsMatrix

XpsMatrix class

Class incapsulating MatrixTransform property element features. This element defines an arbitrary affine matrix transformation used to manipulate the coordinate systems of elements.

public sealed class XpsMatrix : XpsObject

Properties

NameDescription
IsIdentity { get; }Gets a value indicating whether this instance is identity matrix.
M11 { get; }Gets the M11 element.
M12 { get; }Gets the M12 element.
M21 { get; }Gets the M21 element.
M22 { get; }Gets the M22 element.
M31 { get; }Gets the M31 element.
M32 { get; }Gets the M32 element.

Methods

NameDescription
Clone()Clones this transformation matrix.
override Equals(object)Determines whether the specified Object is equal to this instance.
override GetHashCode()Returns a hash code for this instance.
Multiply(Matrix)Multiplies this matrix by the matrix specified by the matrix in default (Prepend) order.
Multiply(XpsMatrix)Multiplies this matrix by the matrix specified by the matrix in default (Prepend) order.
Multiply(Matrix, MatrixOrder)Multiplies this matrix by the matrix specified by the matrix in order specified by matrixOrder.
Multiply(XpsMatrix, MatrixOrder)Multiplies this matrix by the matrix specified by the matrix in order specified by matrixOrder.
Reset()Resets this Matrix to identity matrix.
Rotate(float)Applies clockwise rotation by angle to this Matrix in default (Prepend) order.
Rotate(float, MatrixOrder)Applies clockwise rotation by angle to this Matrix in order specified by matrixOrder.
RotateAround(float, PointF)Applies clockwise rotation by angle around the pivot to this Matrix in default (Prepend) order.
RotateAround(float, PointF, MatrixOrder)Applies clockwise rotation by angle around the pivot to this Matrix in order specified by matrixOrder.
Scale(float, float)Applies the specified scale vector (scaleX and scaleY) to this Matrix in default (Prepend) order.
Scale(float, float, MatrixOrder)Applies the specified scale vector (scaleX and scaleY) to this Matrix in order specified by matrixOrder.
Skew(double, double)Applies specified skew transformation to this Matrix.
override ToString()Returns the string representation of this XpsMatrix instance.
Transform(RectangleF)Applies the affine transformation represented by this Matrix to a specified rectangle.
TransformPoint(PointF)Applies the affine transformation represented by this Matrix to a specified point.
TransformPoints(PointF[])Applies the affine transformation represented by this Matrix to a specified array of points.
TransformPoints(PointF[], int, int)Applies the affine transformation represented by this Matrix to a specified part of array of points.
Translate(float, float)Applies the specified translation vector to this Matrix.
Translate(float, float, MatrixOrder)Applies the specified translation vector to this Matrix in order specified by matrixOrder.
static Equals(XpsMatrix, XpsMatrix)The actual implementation.
operator ==Implements the operator ==.
operator !=Implements the operator !=.

See Also