HatchBrush Class
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.
System.Object
System.MarshalByRefObject
System.Drawing.Brush
System.Drawing.Drawing2D.HatchBrush
[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
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
There are six hatch styles. The foreground color defines the color of lines; the background color defines the color of gaps between the lines.
Requirements
Namespace: System.Drawing.Drawing2D
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)