Sketch canvas drawing component
Turn a canvas into a sketch pad.
$ component install component/sketch
Turn the given
canvas into a sketch pad.
var sketch = ;;
object that must provide a
Set pen size.
Set pen color.
Set pen opacity.
Clear the objects and re-draw.
Reset the sketch defaults and clear the canvas.