RectangleF.FromLTRB(Single, Single, Single, Single) メソッド
定義
左上隅および右下隅が指定の位置に設定された 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
四角形領域の左上隅の x 座標。The x-coordinate of the upper-left corner of the rectangular region.
- top
- Single
四角形領域の左上隅の y 座標。The y-coordinate of the upper-left corner of the rectangular region.
- right
- Single
四角形領域の右下隅の x 座標。The x-coordinate of the lower-right corner of the rectangular region.
- bottom
- 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.