How do you Draw and Unclosed polygon?
g.DrawPoly(points) // will close polygon by itself.
Can I add the last point twice?
for i=5 to p.ubound step 2
g.drawline p(i-3),p(i-2),p(i-1),p(i)
next i
I was using drawline but thought that drawing a 2DObject, FigureShape might work faster…
FigureShape seems to want to close the polygon too, it’s lines are too thick and blech…
Isnt BorderWidth the command to set the line size ?
(height, not length)
[quote=346448:@Emile Schwarz]Isnt BorderWidth the command to set the line size ?
(height, not length)[/quote]
BorderWidth does indeed seem to make the lines thinner.
I’m not quite sure I understand the Concept of a Border when all I’m trying to do is draw a line using a bunch of points and a FigureShape. I was hoping figureShape wouldn’t want to close and fill…
Or larger.
I really understand you ! Now, this is just a name. In the other hand using pen height and pen width in the concept would not be better.
Sometimes when you are searching a name, you do not come with the best (you come with a name) or meaningful.
;-
What you want to do is to mirror and append the array.
Something like (psuedo code).
For l as integer = polyCount downto 1
poly.append poly( l )
Next
[quote=346452:@Sam Rowlands]What you want to do is to mirror and append the array.
Something like (psuedo code).
For l as integer = polyCount downto 1
poly.append poly( l )
Next
[/quote]
Actually, you don’t need the first and last points.