Click or drag to resize

PdfMatrix Class

Represent the matrix
Inheritance Hierarchy
System Object
Spire.Pdf.Graphics PdfMatrix

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfMatrix

The PdfMatrix type exposes the following members.

Constructors
Properties
Name Description
Public property Elements
Gets an array of floating-point values that represents the elements.
Public property OffsetX
Gets the x translation value (the dx value, or the element in the third row and first column).
Public property OffsetY
Gets the x translation value (the dx value, or the element in the third row and second column).
Top
Methods
Name Description
Public method Clone
Clone the matrix.
Public method DegreeToRadian
Converts degree to radian.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Multiply(PdfMatrix)
Prepend the specified matrix.
Public method Multiply(PdfMatrix, PdfMatrixOrder)
Apply the specified matrix by the specified order.
Public method Rotate(Single)
Prepend a clockwise rotation(angle) around the origin.
Public method Rotate(Single, PdfMatrixOrder)
Apply a clockwise rotation(angle) around the origin by the specified order.
Public method Scale(Single, Single)
Prepend the specified scale vector (scaleX and scaleY).
Public method Scale(Single, Single, PdfMatrixOrder)
Apply the specified scale vector (scaleX and scaleY) by the specified order.
Public method Shear(Single, Single)
Prepend the specified Shear vector (shearX and shearY).
Public method Shear(Single, Single, PdfMatrixOrder)
Apply the specified Shear vector (shearX and shearY) by the specified order.
Public method Skew(Single, Single)
Prepend the specified skew angles(angleX angleY).
Public method Skew(Single, Single, PdfMatrixOrder)
Prepend the specified skew angles(angleX angleY) by the specified order.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method TransformPoints
Applies the geometric transform to a specified array of points.
Public method Translate(Single, Single)
Prepend the specified translation vector (offsetX and offsetY).
Public method Translate(Single, Single, PdfMatrixOrder)
Apply the specified translation vector (offsetX and offsetY) by the specified order.
Top
See Also