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