System::Drawing::Rectangle::IntersectsWith método

Rectangle::IntersectsWith method

Determina si los rectángulos representados por el objeto actual y los objetos especificados se intersectan.

bool System::Drawing::Rectangle::IntersectsWith(const Rectangle &rect)
ParámetroTipoDescripción
rectconst Rectangle&El rectángulo a comprobar

ReturnValue

Verdadero si los rectángulos representados por el objeto actual y rect se intersectan, de lo contrario - falso

Ver también