A Sample project demostrating how to use cc.Graphics as a brush to draw customized lines
- Open
Scene/brush-sample-scene
- Change
Bursh Type
onDrawingCanvas
- Run the sample and draw with your mouse
- Press
space
to see watch replay
http://perfectionkills.com/exploring-canvas-drawing-techniques/