Creates new brush depending of specified background style.
Syntax
Parameters
- graphics
- The graphics to draw on.
- backgroundStyle
- The style of the background.
- hatchStyle
- One of the System.Drawing.Drawing2D.HatchStyle values that represents the pattern drawn by this brush.
- gradientStyle
- One of the GrapeCity.ActiveReports.SectionReportModel.GradientStyle values the defines the gradient style.
- rect
- A System.Drawing.RectangleF structure that specifies the bounds of the linear gradient.
- firstColor
- A System.Drawing.Color structure that represents the first color.
- secondColor
- A System.Drawing.Color structure that represents the second color.
See Also