点击或拖拽改变大小

PixelRectContains 方法 (Int32, Int32)

Contains - Returns true if the Point represented by x,y is within the rectangle inclusive of the edges. Returns false otherwise.

命名空间:  CPF
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public bool Contains(
	 in int x,
	 in int y
)

参数

x
类型:SystemInt32
X coordinate of the point which is being tested
y
类型:SystemInt32
Y coordinate of the point which is being tested

返回值

类型:Boolean
Returns true if the Point represented by x,y is within the rectangle. Returns false otherwise.
参见