|
-
August 22nd, 2009, 08:40 PM
#1
Drawing Help Request
Hi,
I'm learning drawing with C#. When I draw a rectangle and fill it, ala
g.DrawRectangle (Pens.Black, testRectangle);
Brush test = new HatchBrush(...);
g.FillRectangle(test, testRectangle);
The top and left-hand border of my rectangle be quashed by the hatch marks. Am I doing something wrong? Please tell me what it is?
Thanks for your time and attention,
Frank
-
August 22nd, 2009, 08:54 PM
#2
Re: Drawing Help Request
You are filling over the border since you are drawing to the same rectangle. Think about it for a minute and it makes sense. Just fill it in first and then draw the border.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|