I have a array of points with coodinates
(ar can have f.e. 200 points)
ar(1,0) = 1
ar(1,1) = 10
ar(2,0) = 5
ar(2,1) = 15
..
..
where
point1
x = 1
y = 10
point2
x = 5
y = 15
How can I draw the polygon with these points
f.e.
for i = 1 to ar.getupperbounds(0)
??
next
g.drawpolygon(???
I can not go from ar to drawpolygon
Thanks for any response
(ar can have f.e. 200 points)
ar(1,0) = 1
ar(1,1) = 10
ar(2,0) = 5
ar(2,1) = 15
..
..
where
point1
x = 1
y = 10
point2
x = 5
y = 15
How can I draw the polygon with these points
f.e.
for i = 1 to ar.getupperbounds(0)
??
next
g.drawpolygon(???
I can not go from ar to drawpolygon
Thanks for any response