RectangleF.RectangleF

RectangleF(PointF, SizeF)

指定された位置とサイズで RectangleF 構造体の新しいインスタンスを初期化します。

public RectangleF(PointF location, SizeF size)
パラメータタイプ説明
locationPointF四角形領域の左上隅を表す PointF。
sizeSizeF四角形領域の幅と高さを表す SizeF。

関連項目


RectangleF(float, float, float, float)

指定された位置とサイズで RectangleF 構造体の新しいインスタンスを初期化します。

public RectangleF(float x, float y, float width, float height)
パラメータタイプ説明
xSingle四角形の左上隅の x 座標。
ySingle四角形の左上隅の y 座標。
widthSingle長方形の幅。
heightSingle長方形の高さ。

関連項目