点击或拖拽改变大小

MatrixEquality 运算符

Compares two Matrix instances for exact 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. Furthermore, using this equality operator, float.NaN is not equal to itself.

命名空间:  CPF.Drawing
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public static bool operator ==(
	Matrix matrix1,
	Matrix matrix2
)

参数

matrix1
类型:CPF.DrawingMatrix
The first Matrix to compare
matrix2
类型:CPF.DrawingMatrix
The second Matrix to compare

返回值

类型:Boolean
bool - true if the two Matrix instances are exactly equal, false otherwise
参见