Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.
Public NotInheritable Class HatchBrush _ Inherits Brush
Dim instance As HatchBrush
public sealed class HatchBrush : Brush
public ref class HatchBrush sealed : public Brush
public final class HatchBrush extends Brush
There are 54 unique hatch styles. The foreground color defines the color of lines; the background color defines the color of gaps between the lines.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98