Click or drag to resize

PdfTransform Class

A class representing a matrix transform usable with the Pdf Generating Tools.
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDoc.GeometryPdfTransform

Namespace:  Atalasoft.PdfDoc.Geometry
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class PdfTransform : ICloneable

The PdfTransform type exposes the following members.

Constructors
  NameDescription
Public methodPdfTransform
Initializes a new instance of the PdfTransform class.
Public methodPdfTransform(Double)
Initializes a new instance of the PdfTransform class copying the array coming in.
Public methodPdfTransform(PdfTransform)
Initializes a new instance of the PdfTransform class copying the transform coming in.
Public methodPdfTransform(Double, Double, Double, Double, Double, Double)
Initializes a new instance of the PdfTransform class.
Top
Properties
  NameDescription
Public propertyItem
Gets or sets the Double with the specified index.
Public propertyMatrix
Gets the matrix as an array.
Public propertyTransformType
Gets the type of the transform.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodConcat
Concats the specified transform on to the current transform.
Public methodDeterminant
Returns the determinant of this transform
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetInverse
Gets the inverse.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIdentity
Returns an Identity Transform.
Public methodIsIdentity
Determines whether this instance is the identity matrix.
Public methodIsInvertable
Determines whether this instance is invertible.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRotate
Returns a Rotation Transform
Public methodStatic memberScale(Double)
Returns a Scale Transform
Public methodStatic memberScale(Double, Double)
Returns a Scale Transform
Public methodStatic memberSkew
Returns a Skew Transform
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform(PointF)
Transforms the specified point.
Public methodTransform(PdfPoint)
Transforms the specified point.
Public methodTransform(Double, Double, Double, Double)
Transforms the specified x and y coordinates.
Public methodStatic memberTranslate
Returns a Translate Transform
Top
Examples
Create a Transform which rotates a point 90 degrees then shifts it 100 in the X direction and 100 in the Y direction
PdfTransform transform = PdfTransform.Rotate(Math.PI/2);
transform.Concat(PdfTransform.Translate(100,100);
See Also