GraphicsPath border question (DrawPath)

  • Thread starter Thread starter Tim Bücker
  • Start date Start date
T

Tim Bücker

Hello.

I have a question concerning the Graphics.DrawPath method.
Where is the border drawn using a pen with the size of 3?

It doesn´t seem that the border is drawn outside of the path (just a
rectangle in my case) or completely inside the path.
For me it looks like this with b=border and p = path:

b
bp (overlapping)
bp (overlapping)
p
p

Unfortunately I have nothing found searching the MSDN or the net.
Thanks for any trustable resources or help!

Greetings,
Tim.
 
My bad, PenStyle should of course be Pen.Alignment :P.

That said, I'm not sure how you can manage an overlap on a simple rectangle. Are you sure you set the points correctly?
 
Thanks for answering!
I?ll have a look at the different pen styles...

Greetings,
Tim.

Morten Wennevik said:
My bad, PenStyle should of course be Pen.Alignment :P.

That said, I'm not sure how you can manage an overlap on a simple
rectangle. Are you sure you set the points correctly?
 
Back
Top