GrapeCity ActiveReports for .NET 16.0J
CreateBrush メソッド

GrapeCity.ActiveReports 名前空間 > GraphicsExtensions クラス : CreateBrush メソッド
描画するグラフィックス。
背景のスタイル。
このブラシによって描画されるパターンを表すSystem.Drawing.Drawing2D.HatchStyle値の1つ。
グラデーションスタイルを定義するGrapeCity.ActiveReports.SectionReportModel.GradientStyle値の1つ。
線状グラデーションの境界線を指定するSystem.Drawing.RectangleF構造体。
1番目の色を表すSystem.Drawing.Color構造体。
2番目の色を表すSystem.Drawing.Color構造体。
指定された背景スタイルに応じて新しいブラシを作成します。
シンタックス
'宣言
 
Public Shared Function CreateBrush( _
   ByVal graphics As Graphics, _
   ByVal backgroundStyle As BackgroundStyle, _
   ByVal hatchStyle As HatchStyle, _
   ByVal gradientStyle As GradientStyle, _
   ByVal rect As RectangleF, _
   ByVal firstColor As Color, _
   ByVal secondColor As Color _
) As Brush

パラメータ

graphics
描画するグラフィックス。
backgroundStyle
背景のスタイル。
hatchStyle
このブラシによって描画されるパターンを表すSystem.Drawing.Drawing2D.HatchStyle値の1つ。
gradientStyle
グラデーションスタイルを定義するGrapeCity.ActiveReports.SectionReportModel.GradientStyle値の1つ。
rect
線状グラデーションの境界線を指定するSystem.Drawing.RectangleF構造体。
firstColor
1番目の色を表すSystem.Drawing.Color構造体。
secondColor
2番目の色を表すSystem.Drawing.Color構造体。
参照

GraphicsExtensions クラス
GraphicsExtensions メンバ