J
jd6strings
OK...This should be elementary but a lack of sleep is apparently
blocking my thought processes...
I've two points (p1, p2) and I've drawn a line between them:
grahix.DrawLine(new Pen(Color.Red,4F),From.Point,To.Point);
How can I now draw a rectangle around the line that exactly fits the
length, width, and thickness of the line based on the two points. I
can't seem to get it right...
Thanks!!!
blocking my thought processes...
I've two points (p1, p2) and I've drawn a line between them:
grahix.DrawLine(new Pen(Color.Red,4F),From.Point,To.Point);
How can I now draw a rectangle around the line that exactly fits the
length, width, and thickness of the line based on the two points. I
can't seem to get it right...
Thanks!!!