Jump to content

Get vertices of graphics polygon


Arijit Naskar
 Share

Recommended Posts

Hi, I have am creating a polygon with random generated points.

My code is something like below

Graphics.moveTo(x1,y1);

Graphics.LineTo(x2,y2);

Graphics.LineTo(x2,y3);

Now this polygon is moving with some x velocity.

Now at certain point of time I want to get the vertices of the polygon. Is it possible?

*As the polygon is moving, storing the points in a array is not working. 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...