PowerTools PlusPak for Windows Forms 8.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の値。
プラットフォーム

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

参照

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

Send Feedback