System::Drawing::RectangleF::IntersectsWith 方法

RectangleF::IntersectsWith method

确定当前对象和指定对象表示的矩形是否相交。

bool System::Drawing::RectangleF::IntersectsWith(const RectangleF &rect)
ParameterType描述
rectconst RectangleF&要检查的矩形

ReturnValue

如果当前对象和 rect 所表示的矩形相交,则为 true;否则为 false

另见