Click or drag to resize
OGBrushOGHatchedBrush Method (Color, Color, HatchStyle)
Creates a hatched brush using the specified foreground color, background color, and hatch style.

Namespace: Stingray.Grid
Assembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: 14.0.0.0
Syntax
public static OGBrush OGHatchedBrush(
	Color fColor,
	Color bColor,
	HatchStyle hatchStyle
)

Parameters

fColor
Type: System.DrawingColor
names the foreground color
bColor
Type: System.DrawingColor
names the background color
hatchStyle
Type: Stingray.GridHatchStyle
The hatch style for the brush

Return Value

Type: OGBrush
A new OGBrush that draws with the hatch style hatchStyle and the indicated colors.
See Also