GrapeCity PlusPak for Windows Forms 10.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
塗りつぶす矩形の高さ。
参照

参照

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

 

 


© 2008 GrapeCity inc. All rights reserved.