Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

RectFContains 方法

重载列表

Contains(PointF) Determines if the specified point is contained within this rectangle 确定指定点是否包含在此矩形内
Contains(RectF) Determines if the specified rectangle is entirely contained within this rectangle 确定指定矩形是否完全包含在此矩形内
Contains(Single, Single) Determines if the specified point is contained within this rectangle 确定指定点是否包含在此矩形内

参见