System::Drawing::Graphics::FillRectangle メソッド

Graphics::FillRectangle(const SharedPtr<Brush>&, float, float, float, float) method

指定された矩形を、指定されたブラシで塗りつぶします。

void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, float x, float y, float width, float height)
パラメーター説明
brushconst SharedPtr<Brush>&塗りつぶしに使用する Brush オブジェクト
x単精度浮動小数点数塗りつぶす矩形の左上隅の X 座標
y単精度浮動小数点数塗りつぶす矩形の左上隅の Y 座標
width単精度浮動小数点数塗りつぶす矩形の幅
height単精度浮動小数点数塗りつぶす矩形の高さ

参照

Graphics::FillRectangle(const SharedPtr<Brush>&, int, int, int, int) method

指定された矩形を、指定されたブラシで塗りつぶします。

void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, int x, int y, int width, int height)
パラメーター説明
brushconst SharedPtr<Brush>&塗りつぶしに使用する Brush オブジェクト
xint塗りつぶす矩形の左上隅の X 座標
yint塗りつぶす矩形の左上隅の Y 座標
widthint塗りつぶす矩形の幅
heightint塗りつぶす矩形の高さ

参照

Graphics::FillRectangle(const SharedPtr<Brush>&, Rectangle) method

指定された矩形を、指定されたブラシで塗りつぶします。

void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, Rectangle rect)
パラメーター説明
brushconst SharedPtr<Brush>&塗りつぶしに使用する Brush オブジェクト
rectRectangle塗りつぶす矩形の位置とサイズを指定する Rectangle オブジェクト

参照

Graphics::FillRectangle(const SharedPtr<Brush>&, RectangleF) method

指定された矩形を、指定されたブラシで塗りつぶします。

void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, RectangleF rect)
パラメーター説明
brushconst SharedPtr<Brush>&塗りつぶしに使用する Brush オブジェクト
rectRectangleF塗りつぶす矩形の位置とサイズを指定する RectangleF オブジェクト

参照