format nya
context.bezierCurveTo(controlX1, controlY1, controlX2, controlY2, endX, endY);
contoh penggunaan:
context.beginPath();
context.moveTo(188, 130);
context.bezierCurveTo(140, 10, 388, 10, 388, 170);
context.lineWidth = 10;
sumber
http://www.html5canvastutorials.com/tutorials/html5-canvas-bezier-curves/
Tidak ada komentar:
Posting Komentar