Hello, All. I hate doing this but I’ve fiddled with it for some time with no luck. It’s been 57 years since my last geometry class, and I’m stumped.
I am trying to create a GraphicsPath that is very similar to what I would get if I used AddRoundRectangle and added it to the margins of my DesktopContainer. Think of the border around a DesktopButton. In paint I will be selecting one of 3 versions.
All three versions will have a horizontal line, to width (or arc), top and bottom.
-
Rounded on the left, no border on the right side.
-
No border on the left, rounded on the right.
-
Square on the left, nothing on the right.
Can anyone give me some sample code?
5 posts - 3 participants