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