Change Hatchbrush Style

Topics: SharpMap v0.9 / v1.x
Apr 29, 2014 at 8:33 AM
Edited Apr 29, 2014 at 8:33 AM
Hello,
is it possible to define own style for hatchbrush.
e.g. linewidth, rasteroffset,...

or only defined standard hatchstyles
[http://msdn.microsoft.com/en-us/library/system.drawing.drawing2d.hatchstyle(v=vs.110).aspx
 Fill = new HatchBrush(
                    HatchStyle.DiagonalCross,
                    Color.FromArgb(127, Color.Black),
                    Color.Transparent)
Thanks!
Coordinator
Apr 29, 2014 at 11:36 AM
You can use a TextureBrush and thus define whichever hatch you want.
Marked as answer by michaelfo on 4/30/2014 at 4:12 AM