To create a polygon with KineticJS, we can instantiate a Kinetic.Polygon() object. For a full list of attributes and methods, check out the Kinetic.Polygon documentation.
Code Editor
Modified on May 17th, 2013
by Eric Rowell