PdfMatrix Class |
Namespace: Opait.Pdf.Api
public class PdfMatrix : IEquatable<PdfMatrix>
The PdfMatrix type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfMatrix(IReadOnlyListDouble) |
Initializes a new instance using an array of elements
| |
| PdfMatrix(PdfMatrix) |
Initializes a new instance of the PdfMatrix class from another specified PdfMatrix.
| |
| PdfMatrix(String) |
Initializes a new instance using a serialized, and space separated, string.
Compatible with the output from the ToString() metheod.
| |
| PdfMatrix(Double, Double, Double, Double, Double, Double) |
Initializes a new instance of the PdfMatrix class with the specified elements.
|
| Name | Description | |
|---|---|---|
| Determinant |
Returns the determinant of the rotation matrix.
| |
| Inverse |
Gets the inverse of the current matrix.
| |
| IsIdentity |
Gets a value indicating whether this PdfMatrix is the identity matrix.
| |
| IsInvertible |
Gets a value indicating whether this PdfMatrix is invertible.
| |
| OffsetX |
Gets the x translation value of this PdfMatrix.
| |
| OffsetY |
Gets the y translation value of this PdfMatrix.
| |
| ScaleX |
Gets the horizontal scaling factor of this PdfMatrix.
| |
| ScaleY |
Gets the vertical scaling factor of this PdfMatrix.
|
| Name | Description | |
|---|---|---|
| Concatenate |
Concatenates this PdfMatrix by the specified matrix, by prepending the specified PdfMatrix.
| |
| Create |
Creates a PdfMatrix with the specified attributes.
| |
| Equals(Object) |
Specifies whether this PdfMatrix contains the same values as the specified Object.
(Overrides ObjectEquals(Object).) | |
| Equals(PdfMatrix) |
Specifies whether this PdfMatrix contains the same values as the specified PdfMatrix.
| |
| FlipMatrix |
Creates a PdfMatrix to represent flipping horizontally, vertically or both.
| |
| GetHashCode |
Returns the hash code for this PdfMatrix.
(Overrides ObjectGetHashCode.) | |
| Invert |
Inverts this PdfMatrix. PdfMatrix must be invertible.
| |
| Multiply |
Compute a new transformation matrix by multiplying two existing matrices.
| |
| Rotate |
Prepends to this PdfMatrix a clockwise rotation, around the origin and by the specified angle.
| |
| RotateFlipMatrix |
Creates a PDF matrix from parameters of a rotate/flip operation.
| |
| RotationAtMatrix |
Creates a PdfMatrix to represent a translation followed by rotation by the specified values.
| |
| RotationMatrix |
Creates a PdfMatrix to represent a rotation by the specified angle.
| |
| Scale |
Applies the specified scale vector to this PdfMatrix by prepending the scale vector.
| |
| ScalingMatrix |
Creates a PdfMatrix to represent scaling by the specified amounts.
| |
| Shear |
Applies the specified shear vector to this PdfMatrix by prepending the shear vector.
| |
| ShearMatrix |
Creates a PdfMatrix to represent shearing by the specified amounts.
| |
| ToArray |
Converts the matrix to an array of 6 double precision numbers.
| |
| ToPixAffine |
Converts the matrix to array of 6 floats in the order that
is expected by Leptonica affine transforms.
| |
| ToString |
Converts this PdfMatrix to a human-readable string.
(Overrides ObjectToString.) | |
| Transform(PdfPoint) |
Transform a point using this PdfMatrix.
| |
| Transform(PdfRectangle) |
Transform a rectangle using this PdfMatrix.
| |
| Translate |
Applies the specified translation vector to this PdfMatrix by prepending the translation vector.
| |
| TranslationMatrix |
Creates a PdfMatrix to represent translation by the specified amounts.
|
| Name | Description | |
|---|---|---|
| A |
Gets the M11 element of the affine matrix.
| |
| B |
Gets the M21 element of the affine matrix.
| |
| C |
Gets the M12 element of the affine matrix.
| |
| D |
Gets the M22 element of the affine matrix.
| |
| E |
Gets the DX element of the affine matrix.
| |
| F |
Gets the DY element of the affine matrix.
| |
| IdentityMatrix |
A PdfMatrix that represents the identity matrix.
|