点击或拖拽改变大小

ColorEquality 运算符

IsEqual operator - Compares two colors 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. see cref="AreClose".

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

参数

color1
类型:CPF.DrawingColor

[缺少 "M:CPF.Drawing.Color.op_Equality(CPF.Drawing.Color,CPF.Drawing.Color)" 的 <param name="color1"/> 文档]

color2
类型:CPF.DrawingColor

[缺少 "M:CPF.Drawing.Color.op_Equality(CPF.Drawing.Color,CPF.Drawing.Color)" 的 <param name="color2"/> 文档]

返回值

类型:Boolean

[缺少 "M:CPF.Drawing.Color.op_Equality(CPF.Drawing.Color,CPF.Drawing.Color)" 的 <returns> 文档]

参见