Matrix 方法 |
Matrix 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Append |
Append - "this" becomes this * matrix, the same as this *= matrix.
| |
CreateTranslation |
Creates a translation matrix from the given vector.
| |
Equals(Object) |
Equals - compares this Matrix with the passed in object. In this equality
float.NaN is equal to itself, unlike in numeric equality.
Note that float values can acquire error when operated upon, such that
an exact comparison between two values which
are logically equal may fail.
(重写 ValueTypeEquals(Object).) | |
Equals(Matrix) |
Equals - compares this Matrix with the passed in object. In this equality
float.NaN is equal to itself, unlike in numeric equality.
Note that float values can acquire error when operated upon, such that
an exact comparison between two values which
are logically equal may fail.
| |
Equals(Matrix, Matrix) |
Compares two Matrix instances for object equality. In this equality
float.NaN is equal to itself, unlike in numeric equality.
Note that float values can acquire error when operated upon, such that
an exact comparison between two values which
are logically equal may fail.
| |
GetHashCode |
Returns the HashCode for this Matrix
(重写 ValueTypeGetHashCode.) | |
GetType | (继承自 Object。) | |
Invert |
Replaces matrix with the inverse of the transformation. This will throw an InvalidOperationException
if !HasInverse
| |
Multiply |
Multiply
| |
Prepend |
Prepend - "this" becomes matrix * this, the same as this = matrix * this.
| |
Rotate |
Rotates this matrix about the origin
| |
RotateAt |
Rotates this matrix about the given point
| |
RotateAtPrepend |
Prepends a rotation about the given point to "this"
| |
RotatePrepend |
Prepends a rotation about the origin to "this"
| |
Scale |
Scales this matrix around the origin
| |
ScaleAt |
Scales this matrix around the center provided
| |
ScaleAtPrepend |
Prepends a scale around the center provided to "this"
| |
ScalePrepend |
Prepends a scale around the origin to "this"
| |
SetIdentity |
Sets the matrix to identity.
| |
Skew |
Skews this matrix
| |
SkewPrepend |
Prepends a skew to this matrix
| |
ToString |
Creates a string representation of this object based on the current culture.
(重写 ValueTypeToString.) | |
ToString(IFormatProvider) |
Creates a string representation of this object based on the IFormatProvider
passed in. If the provider is null, the CurrentCulture is used.
| |
Transform(Point) |
Transform - returns the result of transforming the point by this matrix
| |
Transform(Point) |
Transform - Transforms each point in the array by this matrix
| |
Transform(Vector) |
Transform - returns the result of transforming the Vector by this matrix.
| |
Transform(Vector) |
Transform - Transforms each Vector in the array by this matrix.
| |
Translate |
Translates this matrix
| |
TranslatePrepend |
Prepends a translation to this matrix
|
名称 | 说明 | |
---|---|---|
ConvertTo |
类型转换
(由 ObjectExtenstions 定义。) | |
Delay |
延迟操作
(由 ObjectExtenstions 定义。) | |
Equal |
对象是否相等
(由 ObjectExtenstions 定义。) | |
GetCreationCode | (由 ObjectExtenstions 定义。) | |
GetPropretyValue |
获取对象属性值
(由 ObjectExtenstions 定义。) | |
GetValue |
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。) | |
Invoke |
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。) | |
SetPropretyValue |
设置属性值
(由 ObjectExtenstions 定义。) | |
SetValue |
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。) | |
ToMatrix | (由 Extension 定义。) |