Hi I want to Fill out a Rectangle. Normally i can use:
g.FillRectangle(Brushes.Green, x1, y1, x2, y2);
But I don't want to fill it completly out with a green color, I want to fill it out with points So i want it: One point black, one point green, one point black... Can you help me thanks
You'll want to use a
HatchBrush
withHatchStyle.Percent50
, instead of your normal green brush, like so:For a demo of the other hatchstyles, see the following demo.