PowerTools PlusPak for Windows Forms 8.0J
FillRectangle(Brush,Single,Single,Single,Single) メソッド

塗りつぶしの特性を決定するBrushオブジェクト。
塗りつぶす矩形の左上端のx座標。
塗りつぶす矩形の左上端のy座標。
塗りつぶす矩形の幅。
塗りつぶす矩形の高さ。
幅と高さの座標の組み合わせで指定された矩形の内側を塗りつぶします。
構文
Public Overloads Sub FillRectangle( _
   ByVal brush As Brush, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single _
) 
public void FillRectangle( 
   Brush brush,
   float x,
   float y,
   float width,
   float height
)

パラメータ

brush
塗りつぶしの特性を決定するBrushオブジェクト。
x
塗りつぶす矩形の左上端のx座標。
y
塗りつぶす矩形の左上端のy座標。
width
塗りつぶす矩形の幅。
height
塗りつぶす矩形の高さ。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

Graphics クラス
Graphics メンバ
オーバーロード一覧

Send Feedback