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

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

The Matrix type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleMatrix
Constructor creates stanrard 1 to 1 matrix: [ A B C D E F ] = [ 1, 0, 0, 1, 0, 0]
Public methodCode exampleMatrix(Double)
Constructor accepts a matrix with following array representation: [ A B C D E F ]
Public methodMatrix(Single)
Constructor accepts a matrix with following array representation: [ A B C D E F ]
Public methodMatrix(Matrix)
Constructor accepts a matrix to create a copy
Public methodCode exampleMatrix(Double, Double, Double, Double, Double, Double)
Initializes transformation matrix with specified coefficients.
Properties
  NameDescription
Public propertyA
A member of the transformation matrix.
Public propertyB
B member of the transformation matrix.
Public propertyC
C member of the transformation matrix.
Public propertyD
D member of the transformation matrix.
Public propertyData
Gets data of Matrix as array.
Public propertyE
E member of the transformation matrix.
Public propertyElements
Elements of the matrix.
Public propertyF
F member of the transformation matrix.
Methods
  NameDescription
Public methodAdd
Adds matrix to other matrix.
Public methodEquals
Compares matrix agains other object.
(Overrides ObjectEquals(Object).)
Public methodStatic memberCode exampleGetAngle
Transaltes rotation into angle (degrees)
Public methodGetHashCode
Hash-code for object.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleMultiply
Multiplies the matrix by other matrix.
Public methodCode exampleReverse
Calculates reverse matrix.
Public methodStatic memberCode exampleRotation
Creates matrix for given rotation angle.
Public methodStatic memberCode exampleSkew
Creates matrix for given rotation angle.
Public methodToString
Returns text reporesentation of the matrix.
(Overrides ObjectToString.)
Public methodCode exampleTransform(Point)
Transforms point using this matrix.
Public methodCode exampleTransform(Rectangle)
Transformes rectangle. If angle is not 90 * N degrees then bounding rectangle is returned.
See Also