Lines Matching refs:ctx
7 var ctx = document.getCSSCanvasContext('2d', 'drop-down-arrow', 9, 4);8 ctx.fillStyle = '#000';9 ctx.translate(1.5, .5);10 ctx.beginPath();11 ctx.moveTo(0, 0);12 ctx.lineTo(6, 0);13 ctx.lineTo(3, 3);14 ctx.closePath();15 ctx.fill();16 ctx.stroke();