Class SvgTransformF
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Core.dll
This is an implementation of the 3-by-3 affine matrix that represents a geometric transform.
public class SvgTransformF : ICloneable
- Inheritance
-
SvgTransformF
- Implements
- Inherited Members
Constructors
- SvgTransformF()
Initializes a new instance of the SvgTransformF class as the identity transform or matrix.
- SvgTransformF(SvgRectF, SvgPointF[])
Initializes a new instance of the SvgTransformF class to the geometric transform defined by the specified rectangle and array of points.
- SvgTransformF(SvgTransformF)
Initializes a new instance of the SvgTransformF class with parameters copied from the specified parameter, a copy constructor.
- SvgTransformF(float, float, float, float, float, float)
Initializes a new instance of the SvgTransformF class with the specified elements.
- SvgTransformF(float[])
Initializes a new instance of the SvgTransformF class with the specified elements.
Properties
- Elements
Gets an array of floating-point values that represents the elements of this SvgTransformF.
- IsIdentity
Gets a value indicating whether this SvgTransformF is the identity matrix.
- IsInvertible
Gets a value indicating whether this SvgTransformF is invertible.
- OffsetX
Gets the
x
translation value (thedx
value, or the element in the third row and first column) of this SvgTransformF.
- OffsetY
Gets the
y
translation value (thedy
value, or the element in the third row and second column) of this SvgTransformF.
Methods
- Clone()
This creates a new SvgTransformF that is a deep copy of the current instance.
- Equals(object)
Determine whether the specified object is a SvgTransformF and is identical to this SvgTransformF.
- GetHashCode()
Returns a hash code.
- Invert()
Inverts this SvgTransformF, if it is invertible.
- Multiply(SvgTransformF)
Multiplies this SvgTransformF by the specified SvgTransformF by prepending the specified SvgTransformF.
- Multiply(SvgTransformF, SvgTransformOrder)
Multiplies this SvgTransformF by the matrix specified in the matrix parameter, and in the order specified in the order parameter.
- Reset()
Resets this SvgTransformF to have the elements of the identity matrix.
- ReverseTransform(float, float, out float, out float)
Applies the reverse geometric transform represented by this SvgTransformF to a specified point.
- Rotate(float)
Applies a clockwise rotation of the specified angle about the origin to this SvgTransformF.
- Rotate(float, SvgTransformOrder)
Applies a clockwise rotation of the specified angle about the origin to this SvgTransformF, and in the order specified in the order parameter.
- RotateAt(float, SvgPointF)
Applies a clockwise rotation about the specified point to this SvgTransformF by prepending the rotation.
- RotateAt(float, SvgPointF, SvgTransformOrder)
Applies a clockwise rotation about the specified point to this SvgTransformF in the specified order.
- Scale(float, float)
Applies the specified scale vector to this SvgTransformF by prepending the scale vector.
- Scale(float, float, SvgTransformOrder)
Applies the specified scale vector to this SvgTransformF using the specified order.
- Shear(float, float)
Applies the specified shear vector to this SvgTransformF by prepending the shear vector.
- Shear(float, float, SvgTransformOrder)
Applies the specified shear vector to this SvgTransformF in the specified order.
- Transform(float, float, out float, out float)
Applies the geometric transform represented by this SvgTransformF to a specified point.
- TransformPoints(SvgPointF[])
Applies the geometric transform represented by this SvgTransformF to a specified array of points.
- TransformVectors(SvgPointF[])
Multiplies each vector in an array by the matrix. The translation elements of this matrix (third row) are ignored.
- Translate(float, float)
Applies the specified translation vector to this SvgTransformF by prepending the translation vector.
- Translate(float, float, SvgTransformOrder)
Applies the specified translation vector to this SvgTransformF in the specified order.