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

定義

左上隅および右下隅が指定の位置に設定された RectangleF 構造体を作成します。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

パラメーター

left
Single Single Single Single

四角形領域の左上隅の x 座標。The x-coordinate of the upper-left corner of the rectangular region.

top
Single Single Single Single

四角形領域の左上隅の y 座標。The y-coordinate of the upper-left corner of the rectangular region.

right
Single Single Single Single

四角形領域の右下隅の x 座標。The x-coordinate of the lower-right corner of the rectangular region.

bottom
Single Single Single Single

四角形領域の右下隅の y 座標。The y-coordinate of the lower-right corner of the rectangular region.

戻り値

このメソッドが作成する新しい RectangleF オブジェクト。The new RectangleF that this method creates.

注釈

このメソッドを作成、RectangleF指定した左上隅および右の角をします。This method creates a RectangleF with the specified upper-left and lower-right corners.

適用対象