RectHelper.FromPoints(Point, Point) Método

Definição

Cria um novo valor rect com base em dois pontos. O código C# e o Microsoft Visual Basic devem usar o construtor 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

Parâmetros

point1
Point

O primeiro ponto.

point2
Point

O segundo ponto.

Retornos

O Rect criado.

Aplica-se a