Contains

Rectangle.Contains method

确定给定点是否在矩形内。

public bool Contains(Point point)
范围类型描述
pointPoint点检查。

返回值

如果 point 在 recatngle 内,则为真。

也可以看看