System::Drawing::Rectangle::Intersect 메서드

Rectangle::Intersect(const Rectangle&) method

현재 객체가 나타내는 사각형을 지정된 객체가 나타내는 사각형과의 교차 결과 사각형으로 교체합니다.

void System::Drawing::Rectangle::Intersect(const Rectangle &rect)
매개변수형식설명
rectconst Rectangle&현재 객체가 나타내는 사각형과 교차할 사각형을 나타내는 Rectangle 객체

또 보기

Rectangle::Intersect(const Rectangle&, const Rectangle&) method

지정된 사각형들의 교차 결과인 사각형을 반환합니다.

static Rectangle System::Drawing::Rectangle::Intersect(const Rectangle &a, const Rectangle &b)
매개변수형식설명
aconst Rectangle&교차할 첫 번째 사각형
bconst Rectangle&교차할 두 번째 사각형

ReturnValue

ab 의 교차 결과

또 보기