Share via


RectHelper.Intersect(Rect, Rect) 메서드

정의

교차하는 지정된 두 Rect 값의 영역을 새 Rect로 반환합니다. C# 코드는 Rect.Intersect를 대신 사용해야 합니다.

public:
 static Rect Intersect(Rect target, Rect rect);
 static Rect Intersect(Rect const& target, Rect const& rect);
public static Rect Intersect(Rect target, Rect rect);
function intersect(target, rect)
Public Shared Function Intersect (target As Rect, rect As Rect) As Rect

매개 변수

target
Rect

교집합을 위해 검사 첫 번째 Rect입니다.

rect
Rect

교차할 검사 두 번째 Rect입니다.

반환

교차하는 및 recttarget 영역을 나타내는 Rect입니다. 교집합이 없으면 값이 될 수 있습니다.

적용 대상