左上隅および右下隅が指定の位置に設定された RectangleF 構造体を作成します。
Public Shared Function FromLTRB( _
ByVal left As Single, _ ByVal top As Single, _ ByVal right As Single, _ ByVal bottom As Single _) As RectangleF
[C#]
public static RectangleF FromLTRB(floatleft,floattop,floatright,floatbottom);
[C++]
public: static RectangleF FromLTRB(floatleft,floattop,floatright,floatbottom);
[JScript]
public static function FromLTRB(
left : float,top : float,right : float,bottom : float) : RectangleF;
パラメータ
- left
四角形領域の左上隅の x 座標。 - top
四角形領域の左上隅の y 座標。 - right
四角形領域の右下隅の x 座標。 - bottom
四角形領域の右下隅の y 座標。
戻り値
このメソッドが作成する新しい RectangleF 。
解説
このメソッドは、指定の左上隅および右下隅の RectangleF を作成します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ