Piccolo.NET

PMatrix Members

PMatrix overview

Public Instance Constructors

PMatrixOverloaded. Initializes a new instance of the PMatrix class.

Public Instance Properties

Elements Gets an array of floating-point values that represents the elements of this PMatrix object.
IsIdentity Gets a value indicating whether this PMatrix object is the identity matrix.
IsInvertible Gets a value indicating whether this PMatrix object is invertible.
Matrix Gets or sets the underlying matrix object.
MatrixReference Gets a reference to the underlying matrix object.
OffsetX Gets or sets the x translation value (the dx value, or the element in the third row and first column) of this PMatrix object.
OffsetY Gets or sets the y translation value (the dy value, or the element in the third row and second column) of this PMatrix object.
Rotation Gets or sets the rotation value of this PMatrix, in degrees.
Scale Gets or sets the scale value of this PMatrix.

Public Instance Methods

Clone Creates an exact copy of this PMatrix object.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
InverseTransformOverloaded. Applies the inverse of the geometric transform represented by this PMatrix object to the given rectangle.
Invert Inverts this PMatrix object, if it is invertible.
Multiply Multiplies this PMatrix object by the specified PMatrix object by prepending the specified Matrix.
Reset Resets this PMatrix object to have the elements of the identity matrix.
RotateByOverloaded. Applies a clockwise rotation about the specified point to this PMatrix object by prepending the rotation.
ScaleByOverloaded. Scale about the specified point. Applies the specified scale vector to this PMatrix object by translating to the given point before prepending the scale vector.
ShearBy Applies the specified shear vector to this PMatrix object by prepending the shear transformation.
ToString Overridden. Returns a string representation of this object for debugging purposes.
TransformOverloaded. Applies the geometric transform represented by this PMatrix object to the given rectangle.
TransformPoints Applies the geometric transform represented by this PMatrix object to all of the points in the given array. PMatrix.
TransformVectors Applies only the scale and rotate components of this PMatrix object to all of the points in the given array.
TranslateBy Applies the specified translation vector (dx and dy) to this PMatrix object by prepending the translation vector.

Protected Instance Constructors

PMatrixOverloaded. Initializes a new instance of the PMatrix class.

Protected Instance Properties

ElementString Gets a string representation of the elements in this PMatrix.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

PMatrix Class | UMD.HCIL.Piccolo.Util Namespace