Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

GDI+ .

NET Color & HatchStyle Chart


home | snippets | GDI+ .NET Color & HatchStyle Chart
Thanks to Softomatix for their CodeProject article which gives code to generate a chart showing all the predefined colours
available in GDI+ as part of the .NET framework. I'm providing the chart here for personal convenience. Perhaps others will find it of
use too, as the article doens't provide a means to download or view the result directly (you have to compile and run the code). This
version is provided as a PNG file, rather than the default JPG provided in the article.

I've created an image that shows the effect of GDI+ HatchStyle enumeration value. Each tile consists of a solid rectangle surrounded
by an outline of 1 and 2 pixels in thickness. As you can see, many of the HatchStyle values are not well behaved when drawing lines.
The C# control is available for download.
Pgina 1 de 2 GDI+ .NET Color & HatchStyle Chart
20/02/2011 http://www.drewnoakes.com/snippets/GdiColorChart/

Pgina 2 de 2 GDI+ .NET Color & HatchStyle Chart
20/02/2011 http://www.drewnoakes.com/snippets/GdiColorChart/

You might also like