点击或拖拽改变大小

PixelRectEquals 方法 (PixelRect, PixelRect)

Compares two PixelRect instances for object equality. In this equality int.NaN is equal to itself, unlike in numeric equality. Note that int values can acquire error when operated upon, such that an exact comparison between two values which are logically equal may fail.

命名空间:  CPF
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public static bool Equals(
	PixelRect rect1,
	PixelRect rect2
)

参数

rect1
类型:CPFPixelRect
The first PixelRect to compare
rect2
类型:CPFPixelRect
The second PixelRect to compare

返回值

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