Matrix Class
Class represents transformation matrix.
Inheritance Hierarchy
SystemObject
Aspose.PdfMatrix

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 21.9.0
Syntax
`public sealed class Matrix`

The Matrix type exposes the following members.

Constructors
NameDescription
Matrix
Constructor creates stanrard 1 to 1 matrix: [ A B C D E F ] = [ 1, 0, 0, 1, 0, 0]
Matrix(Double)
Constructor accepts a matrix with following array representation: [ A B C D E F ]
Matrix(Single)
Constructor accepts a matrix with following array representation: [ A B C D E F ]
Matrix(Matrix)
Constructor accepts a matrix to create a copy
Matrix(Double, Double, Double, Double, Double, Double)
Initializes transformation matrix with specified coefficients.
Properties
NameDescription
A
A member of the transformation matrix.
B
B member of the transformation matrix.
C
C member of the transformation matrix.
D
D member of the transformation matrix.
Data
Gets data of Matrix as array.
E
E member of the transformation matrix.
Elements
Elements of the matrix.
F
F member of the transformation matrix.
Methods
NameDescription
Equals
Compares matrix agains other object.
(Overrides ObjectEquals(Object).)
GetAngle
Transaltes rotation into angle (degrees)
GetHashCode
Hash-code for object.
(Overrides ObjectGetHashCode.)
GetType (Inherited from Object.)
Multiply
Multiplies the matrix by other matrix.
Reverse
Calculates reverse matrix.
Rotation(Double)
Creates matrix for given rotation angle.
Rotation(Rotation)
Creates matrix for given rotation.
Skew
Creates matrix for given rotation angle.
ToString
Returns text reporesentation of the matrix.
(Overrides ObjectToString.)
Transform(Point)
Transforms point using this matrix.
Transform(Rectangle)
Transformes rectangle. If angle is not 90 * N degrees then bounding rectangle is returned.