Skip to content

Polygon

Isuru Kusumal Rajapakse edited this page Jun 18, 2017 · 1 revision

new Polygon()

  • Represents an abstract polygon with n number of sides
Returns
  • Void

Polygon.constructor(points)

Create an polygon with specified vertices

Parameters
Name Type Description
points cordinates - array of sets of coordinates formated as {x:x,y;y}.  
Returns
  • Void

Clone this wiki locally