RectHelper.Contains(Rect, Point) 메서드

정의

지정된 Point 가 공유 좌표 참조에 대해 지정된 Rect의 범위 내에 있는지 여부를 반환합니다. C# 및 Microsoft Visual Basic 코드는 Rect.Contains를 대신 사용해야 합니다.

public:
 static bool Contains(Rect target, Point point);
 static bool Contains(Rect const& target, Point const& point);
public static bool Contains(Rect target, Point point);
function contains(target, point)
Public Shared Function Contains (target As Rect, point As Point) As Boolean

매개 변수

target
Rect

평가할 Rect 입니다.

point
Point

포함할 검사 지점입니다.

반환

Boolean

bool

point대상 범위 내에 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상