RectHelper.FromPoints(Point, Point) 메서드

정의

두 점을 기준으로 새 Rect 값을 만듭니다. C# 및 Microsoft Visual Basic 코드는 Rect(Point,Point) 생성자를 대신 사용해야 합니다.

public:
 static Rect FromPoints(Point point1, Point point2);
 static Rect FromPoints(Point const& point1, Point const& point2);
public static Rect FromPoints(Point point1, Point point2);
function fromPoints(point1, point2)
Public Shared Function FromPoints (point1 As Point, point2 As Point) As Rect

매개 변수

point1
Point

첫 번째 점입니다.

point2
Point

두 번째 점입니다.

반환

만든 Rect입니다.

적용 대상