RectangleF.FromLTRB(Single, Single, Single, Single) RectangleF.FromLTRB(Single, Single, Single, Single) RectangleF.FromLTRB(Single, Single, Single, Single) RectangleF.FromLTRB(Single, Single, Single, Single) Method

Definição

Cria uma estrutura RectangleF com o canto superior esquerdo e o canto inferior direito nos locais especificados.Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations.

public:
 static System::Drawing::RectangleF FromLTRB(float left, float top, float right, float bottom);
public static System.Drawing.RectangleF FromLTRB (float left, float top, float right, float bottom);
static member FromLTRB : single * single * single * single -> System.Drawing.RectangleF
Public Shared Function FromLTRB (left As Single, top As Single, right As Single, bottom As Single) As RectangleF

Parâmetros

left
Single Single Single Single

A coordenada X do canto superior esquerdo da região retangular.The x-coordinate of the upper-left corner of the rectangular region.

top
Single Single Single Single

A coordenada y do canto superior esquerdo da região retangular.The y-coordinate of the upper-left corner of the rectangular region.

right
Single Single Single Single

A coordenada X do canto inferior direito da região retangular.The x-coordinate of the lower-right corner of the rectangular region.

bottom
Single Single Single Single

A coordenada y do canto inferior direito da região retangular.The y-coordinate of the lower-right corner of the rectangular region.

Retornos

O novo RectangleF criado por esse método.The new RectangleF that this method creates.

Comentários

Esse método cria um RectangleF com os cantos superior esquerdo e inferior direito especificados.This method creates a RectangleF with the specified upper-left and lower-right corners.

Aplica-se a