Skip to content

PdfMatrix Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a PDF transformation matrix.

C#
public class PdfMatrix : Object

Inheritance: Object → PdfMatrix

Constructors

Name Description
PdfMatrix() Initializes a new PdfMatrix object.
PdfMatrix(Double,Double,Double,Double,Double,Double) Initializes a new PdfMatrix object.
PdfMatrix(PdfMatrix) Initializes a new PdfMatrix object with an existing matrix.

Properties

Name Description
M11 Gets or sets the m11 element.
M12 Gets or sets the m12 element.
M21 Gets or sets the m21 element.
M22 Gets or sets the m22 element.
TX Gets or sets the tx element.
TY Gets or sets the ty element.

Methods

Name Description
InverseTransformPoint Applies the geometric transform represented by the inverse of this matrix to a specified point.
InverseTransformPoints Applies the geometric transform represented by the inverse of this matrix to the specified array of points.
Invert Inverts this matrix object.
Multiply Multiplies this matrix by the matrix specified in the matrix parameter.
Rotate Prepend to this matrix a clockwise rotation, around the origin and by the specified angle.
RotatedMatrix Creates a matrix with a rotation as the initial value.
Scale Applies the specified scale vector to this Matrix by prepending the scale vector.
ScaledMatrix Creates a matrix with a scaling as the initial value.
TransformPoint Applies the geometric transform represented by this matrix to a specified point.
TransformPoints Applies the geometric transform represented by this matrix to a specified array of points.
TransformVector
TransformVectors Applies only the scale and rotate components of this matrix to the specified array of points.
Translate Applies the specified translation vector (tx and ty) to this matrix by prepending the translation vector.
TranslatedMatrix Creates a matrix with a translation as the initial value.