[]
Direct2D Matrix3x2 3x2.
public struct Matrix3x2 : IEquatable<Matrix3x2>, IFormattable
Name | Description |
---|---|
Matrix3x2(float) | Initializes a new instance of the Matrix3x2 struct. |
Matrix3x2(float, float, float, float, float, float) | Initializes a new instance of the Matrix3x2 struct. |
Matrix3x2(float[]) | Initializes a new instance of the Matrix3x2 struct. |
Name | Description |
---|---|
Identity | Gets the identity matrix. |
M11 | Element (1,1) |
M12 | Element (1,2) |
M21 | Element (2,1) |
M22 | Element (2,2) |
M31 | Element (3,1) |
M32 | Element (3,2) |
SizeInBytes | The size of the Matrix3x2 type, in bytes. |
Name | Description |
---|---|
Column1 | Gets or sets the first column in the matrix; that is M11, M21, M31. |
Column2 | Gets or sets the second column in the matrix; that is M12, M22, and M32. |
Determinant | Calculates the determinant of this matrix. |
IsIdentity | Gets a value indicating whether this instance is an identity matrix. |
this[int] | Gets or sets the component at the specified index. |
this[int, int] | Gets or sets the component at the specified index. |
Row1 | Gets or sets the first row in the matrix; that is M11, M12. |
Row2 | Gets or sets the second row in the matrix; that is M21, M22. |
Row3 | Gets or sets the third row in the matrix; that is M31, M32. |
ScaleVector | Gets or sets the scale of the matrix; that is M11, M22. |
TranslationVector | Gets or sets the translation of the matrix; that is M31, M32. |
Name | Description |
---|---|
Add(Matrix3x2, Matrix3x2) | Determines the sum of two matrices. |
AddRef(out Matrix3x2, ref Matrix3x2, ref Matrix3x2) | Determines the sum of two matrices. |
Divide(Matrix3x2, float) | Divides a matrix by the given value. |
DivideRef(out Matrix3x2, ref Matrix3x2, float) | Divides a matrix by the given value. |
Equals(Matrix3x2) | Determines whether the specified Matrix3x2 is equal to this instance. |
Equals(object) | Determines whether the specified object is equal to this instance. |
EqualsRef(ref Matrix3x2) | Determines whether the specified Matrix3x2 is equal to this instance. |
GetHashCode() | Returns a hash code for this instance. |
HadamardDivide(Matrix3x2, Matrix3x2) | Element-wise division of two matrices. |
HadamardDivideRef(out Matrix3x2, ref Matrix3x2, ref Matrix3x2) | Element-wise division of two matrices. |
HadamardProduct(Matrix3x2, Matrix3x2) | Determines the Hadamard (element-wise) product of two matrices. |
HadamardProductRef(out Matrix3x2, ref Matrix3x2, ref Matrix3x2) | Determines the Hadamard (element-wise) product of two matrices. |
Invert(Matrix3x2) | Inverts the specified matrix. |
InvertRef(ref Matrix3x2) | Inverts the specified matrix. The return value indicates whether the operation succeeded. |
InvertRef(out Matrix3x2, ref Matrix3x2) | Inverts the specified matrix. The return value indicates whether the operation succeeded. |
Lerp(Matrix3x2, Matrix3x2, float) | Performs a linear interpolation between two matrices based on the given weighting. |
LerpRef(out Matrix3x2, ref Matrix3x2, ref Matrix3x2, float) | Performs a linear interpolation between two matrices based on the given weighting. |
MatrixProduct(Matrix3x2, Matrix3x2) | Determines the product of two matrices. |
MatrixProductRef(out Matrix3x2, ref Matrix3x2, ref Matrix3x2) | Determines the product of two matrices. |
Multiply(Matrix3x2, float) | Scales a matrix by the given value. |
Multiply(ref Matrix3x2, ref Matrix3x2) | Determines the product of two matrices (same as MatrixProduct). |
MultiplyRef(out Matrix3x2, ref Matrix3x2, float) | Scales a matrix by the given value. |
Negate(Matrix3x2) | Negates a matrix in-place. |
NegateRef(ref Matrix3x2) | Negates a matrix in-place. |
NegateRef(out Matrix3x2, ref Matrix3x2) | Negates a matrix. |
Rotation(float) | Creates a matrix that rotates. |
Rotation(float, Point2F) | Creates a matrix that rotates. |
RotationRef(out Matrix3x2, float) | Creates a matrix that rotates. |
RotationRef(out Matrix3x2, float, ref Point2F) | Creates a matrix that rotates. |
Scale(Size2F) | Creates a scale transformation matrix. |
Scale(Size2F, Point2F) | Creates a scale transformation matrix. |
Scale(Vector2) | Creates a scale transformation matrix. |
Scale(Vector2, Point2F) | Creates a scale transformation matrix. |
Scale(float) | Creates a scale transformation matrix. |
Scale(float, Point2F) | Creates a scale transformation matrix. |
Scale(float, float) | Creates a scale transformation matrix. |
Scale(float, float, Point2F) | Creates a scale transformation matrix. |
ScaleRef(out Matrix3x2, float) | Creates a scale transformation matrix. |
ScaleRef(out Matrix3x2, float, ref Point2F) | Creates a scale transformation matrix. |
ScaleRef(out Matrix3x2, float, float) | Creates a scale transformation matrix. |
ScaleRef(out Matrix3x2, float, float, ref Point2F) | Creates a scale transformation matrix. |
Skew(float, float) | Creates a skew transformation that has the specified x-axis angle and y-axis angle in radians. |
Skew(float, float, Point2F) | Creates a skew transformation that has the specified x-axis angle, y-axis angle, and center point. |
SkewRef(out Matrix3x2, float, float) | Creates a skew transformation that has the specified x-axis angle and y-axis angle in radians. |
SkewRef(out Matrix3x2, float, float, ref Point2F) | Creates a skew transformation that has the specified x-axis angle, y-axis angle, and center point. |
Subtract(Matrix3x2, Matrix3x2) | Determines the difference between two matrices. |
SubtractRef(out Matrix3x2, ref Matrix3x2, ref Matrix3x2) | Determines the difference between two matrices. |
ToArray() | Creates an array containing the elements of the matrix. |
ToString() | Returns a string that represents the current object. |
ToString(IFormatProvider) | Returns a string that represents this instance. |
ToString(string) | Returns a string that represents this instance. |
ToString(string, IFormatProvider) | Returns a string that represents this instance. |
TransformPoint(ref Matrix3x2, Point2F) | Transforms a point by this matrix. |
Translation(Size2F) | Creates a translation matrix using the specified offsets. |
Translation(Vector2) | Creates a translation matrix using the specified offsets. |
Translation(float, float) | Creates a translation matrix using the specified offsets. |
TranslationRef(out Matrix3x2, float, float) | Creates a translation matrix using the specified offsets. |
Name | Description |
---|---|
operator +(Matrix3x2, Matrix3x2) | Adds two matricies. |
operator /(Matrix3x2, float) | Divides a matrix by a given value. |
operator ==(Matrix3x2, Matrix3x2) | Tests for equality between two objects. |
implicit operator Matrix3x2(Matrix4x4) | Performs an implicit conversion from Matrix4x4 to Matrix3x2. |
operator !=(Matrix3x2, Matrix3x2) | Tests for inequality between two objects. |
operator *(Matrix3x2, Matrix3x2) | Calculates a matrix product for the given matrices. |
operator *(Matrix3x2, float) | Scales a matrix by a given value. |
operator *(float, Matrix3x2) | Scales a matrix by a given value. |
operator -(Matrix3x2, Matrix3x2) | Subtracts two matricies. |
operator -(Matrix3x2) | Negates a matrix. |