System::Drawing::RectangleF::IntersectsWith method

RectangleF::IntersectsWith method

Determines if the rectangles represented by the current and specified objects intesect.

bool System::Drawing::RectangleF::IntersectsWith(const RectangleF &rect)
ParameterTypeDescription
rectconst RectangleF&The rectangle to check

ReturnValue

True if the rectangles represented by the current object and rect intersect, otherwise - false

See Also