Is there a graphical overview of the HatchStyle enumeration?
Asked Answered
N

1

9

A hatch pattern is made from two colors: one defined by the BackgroundColor, which fills the background and one for the lines that form the pattern over the background defined by the ForegroundColor property. The HatchStyle property defines what type of pattern the brush has and can be any value from the HatchStyle enumeration. There are more than fifty elements in the HatchStyle enumeration.

The following illustration shows an ellipse filled with a horizontal hatch pattern.

image

Just like for the colors defined in the Color class, I'd like to have a graphical list of all styles defined in HatchStyle, but found none in the MSDN. Do you know of such a overview?

Nonna answered 30/9, 2010 at 9:12 Comment(0)
D
9

Google does find a lot of info:

http://www.drewnoakes.com/snippets/GdiColorChart/

http://www.pardesiservices.com/softomatix/reflectionhatch.asp

http://www.codeproject.com/KB/combobox/HatchStyleComboBox.aspx

Have your pick :)

Demilitarize answered 30/9, 2010 at 9:17 Comment(3)
Could you add an actual image?Nonna
@mafutrct: Not really, I would have to ask permission for that :)Demilitarize
Second link is downGust

© 2022 - 2024 — McMap. All rights reserved.