RectHelper.Intersect(Rect, Rect) 메서드

정의

교차하는 지정된 두 Rect 값의 영역을 새 Rect로 반환합니다. C# 및 Microsoft Visual Basic 코드는 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입니다.

반환

교차하는 대상 및 사각형의 영역을 나타내는 Rect입니다. 교차점이 없는 경우 값이 될 수 있습니다.

적용 대상