svgcanvas/test/example/emptyArc.js
2015-09-09 00:19:54 -07:00

13 lines
265 B
JavaScript

window.C2S_EXAMPLES['emptyArc'] = function(ctx) {
// Draw shapes
for (i = 0; i < 4; i++) {
for (j = 0; j < 3; j++) {
ctx.beginPath();
ctx.arc(100, 100, 100, Math.PI, Math.PI);
ctx.fill();
}
}
};