GrapeCity PlusPak for Windows Forms 10.0J
FillRectangle(Graphics,Rectangle,Color,Color,Color) メソッド

描画するSystem.Drawing.Graphicsオブジェクト。
塗りつぶす矩形を示すSystem.Drawing.Rectangleの値。
グラデーションの開始色を示すSystem.Drawing.Colorの値。
グラデーションの終了色を示すSystem.Drawing.Colorの値。
背景色を示すSystem.Drawing.Colorの値。
指定したグラデーションスタイルの矩形を塗りつぶします。
シンタックス
Public Overloads Sub FillRectangle( _
   ByVal graphics As Graphics, _
   ByVal rectangle As Rectangle, _
   ByVal startColor As Color, _
   ByVal endColor As Color, _
   ByVal backColor As Color _
) 

パラメータ

graphics
描画するSystem.Drawing.Graphicsオブジェクト。
rectangle
塗りつぶす矩形を示すSystem.Drawing.Rectangleの値。
startColor
グラデーションの開始色を示すSystem.Drawing.Colorの値。
endColor
グラデーションの終了色を示すSystem.Drawing.Colorの値。
backColor
背景色を示すSystem.Drawing.Colorの値。
参照

参照

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

 

 


© 2008 GrapeCity inc. All rights reserved.