IntersectsWith()

RectangleF::IntersectsWith(const RectangleF&) method

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

bool System::Drawing::RectangleF::IntersectsWith(const RectangleF &rect)

Arguments

ParameterTypeDescription
rectconst RectangleF&The rectangle to check

Return Value

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

See Also