HatchBrush Constructor (HatchStyle, Color)
.NET Framework (current version)
Initializes a new instance of the HatchBrush class with the specified HatchStyle enumeration and foreground color.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- hatchstyle
-
Type:
System.Drawing.Drawing2D::HatchStyle
One of the HatchStyle values that represents the pattern drawn by this HatchBrush.
- foreColor
-
Type:
System.Drawing::Color
The Color structure that represents the color of lines drawn by this HatchBrush.
The background color is initialized to black.
.NET Framework
Available since 1.1
Available since 1.1
Show: