There are six predefined logical hatch brushes maintained by GDI. The following rectangles were painted by using the six predefined hatch brushes.
An application can create a hatch brush by calling the CreateHatchBrush function, specifying one of the six hatch styles.