private void fillCircle(CanvasRenderingContext2D ctx, double r) { //ctx.beginPath(); ctx.moveTo(r, 0); ctx.fillStyle = "rgb(245,50,50)"; ctx.arc(0, 0, r, 0, Math.PI*2, true); ctx.fill(); }
private void fillCircle(CanvasRenderingContext2D ctx, double r) { //ctx.beginPath(); ctx.moveTo(r, 0); ctx.fillStyle = "rgb(245,50,50)"; ctx.arc(0, 0, r, 0, Math.PI*2, true); ctx.fill(); }