HatchBrush.HatchBrush

HatchBrush(HatchStyle, Color)

Initializes a new instance of the HatchBrush class with the specified HatchStyle enumeration and foreground color.

public HatchBrush(HatchStyle hatchstyle, Color foreColor)
ParameterTypeDescription
hatchstyleHatchStyleOne of the HatchStyle values that represents the pattern drawn by this HatchBrush.
foreColorColorThe Color structure that represents the color of lines drawn by this HatchBrush.

See Also


HatchBrush(HatchStyle, Color, Color)

Initializes a new instance of the HatchBrush class with the specified HatchStyle enumeration, foreground color, and background color.

public HatchBrush(HatchStyle hatchstyle, Color foreColor, Color backColor)
ParameterTypeDescription
hatchstyleHatchStyleOne of the HatchStyle values that represents the pattern drawn by this HatchBrush.
foreColorColorThe Color structure that represents the color of lines drawn by this HatchBrush.
backColorColorThe Color structure that represents the color of spaces between the lines drawn by this HatchBrush.

See Also