ericdrowell / KineticJS

KineticJS is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://www.kineticjs.com
3.98k stars 752 forks source link

Docs - Kinetic.Layer.clear #964

Open tixvieira opened 10 years ago

tixvieira commented 10 years ago

Kinetic.Layer layer.clear(0, 0, 100, 100); should be: layer.clear({x: 0, y:0, width: 100, height: 100});