Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.
For a list of all members of this type, see HatchBrush Members.
[Visual Basic] NotInheritable Public Class HatchBrush Inherits Brush [C#] public sealed class HatchBrush : Brush [C++] public __gc __sealed class HatchBrush : public Brush [JScript] public class HatchBrush extends Brush
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
There are six hatch styles. The foreground color defines the color of lines; the background color defines the color of gaps between the lines.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Drawing (in System.Drawing.dll)