Lines Matching refs:context
5824 this.context = this.canvas.getContext( '2d' );
5888 this.context.save();
5889 this.context.clearRect( 0, 0, this.diameter, this.diameter );
5892 this.context.beginPath();
5893 this.context.arc( x, y, radius + 4, 0, Math.PI * 2, false );
5894 this.context.fillStyle = 'rgba( 0, 0, 0, 0.4 )';
5895 this.context.fill();
5898 this.context.beginPath();
5899 this.context.arc( x, y, radius, 0, Math.PI * 2, false );
5900 this.context.lineWidth = this.thickness;
5901 this.context.strokeStyle = 'rgba( 255, 255, 255, 0.2 )';
5902 this.context.stroke();
5906 this.context.beginPath();
5907 this.context.arc( x, y, radius, startAngle, endAngle, false );
5908 this.context.lineWidth = this.thickness;
5909 this.context.strokeStyle = '#fff';
5910 this.context.stroke();
5913 this.context.translate( x - ( iconSize / 2 ), y - ( iconSize / 2 ) );
5917 this.context.fillStyle = '#fff';
5918 this.context.fillRect( 0, 0, iconSize / 2 - 4, iconSize );
5919 this.context.fillRect( iconSize / 2 + 4, 0, iconSize / 2 - 4, iconSize );
5922 this.context.beginPath();
5923 this.context.translate( 4, 0 );
5924 this.context.moveTo( 0, 0 );
5925 this.context.lineTo( iconSize - 4, iconSize / 2 );
5926 this.context.lineTo( 0, iconSize );
5927 this.context.fillStyle = '#fff';
5928 this.context.fill();
5931 this.context.restore();