Namespace TallComponents.PDF.Transforms
Class MatrixTransform
A 2D geometric transform that is defined by a 3-by-3 affine matrix.
Syntax
public class MatrixTransform : Transform
Constructors
MatrixTransform()
Create a new MatrixTransform.
MatrixTransform(Double,Double,Double,Double,Double,Double)
Create a new MatrixTransform based on the provided matrix entries.
MatrixTransform(Transform)
Create a new MatrixTransform from an existing transform.
Properties
MatrixTransform Inverse
Delivers the inverse transform.
Double OffsetX
Gets the value of the third row and first column of this Matrix structure.
Double OffsetY
Gets the value of the third row and second column of this Matrix structure.
Double ScaleX
Gets the value of the first row and first column of this Matrix structure.
Double ScaleY
Gets the value of the second row and second column of this Matrix structure.
Double ShearX
Gets the value of the first row and second column of this Matrix structure.
Double ShearY
Gets the value of the second row and first column of this Matrix structure.
Methods
MatrixTransform Append(Transform)
Appends a transform.
MatrixTransform Rotate(Double)
Rotates the transform the given amount of degrees.
MatrixTransform Rotate(Double,MatrixOrder)
Rotates the transform the given amount of degrees and in the order specified in the order parameter.
MatrixTransform Scale(Double,Double)
Scales in the x and y direction.
MatrixTransform Scale(Double,Double,MatrixOrder)
Scales in the x and y direction and in the order specified in the order parameter.
MatrixTransform Shear(Double,Double,MatrixOrder)
Applies the specified shear vector to this Matrix in the specified order.
Void TransformPoints(PointF[])
Transform points in place.
Void TransformVectors(PointF[])
Applies only the scale and rotate components of this Matrix to the specified array of points.
MatrixTransform Translate(Double,Double)
Translates over (x,y).
MatrixTransform Translate(Double,Double,MatrixOrder)
Translates over (x,y) and in the order specified in the order parameter.