general/clocks/src/clock.js
/**
     * Draws the background of the clock.
     * Required by the drawClock function.
     * Scaled to a 200px diameter clock rotated to origin of 12o'clock.
     * @private
     */
Draws the background of the clock.
Required by the drawClock function.
Scaled to a 200px diameter clock rotated to origin of 12o'clock.
@private
Draws the background of the clock . Required by the drawClock function . Scaled to a 200px diameter clock rotated to origin of 12o ' clock . @private
function drawClockFace() {
        var faceRadius = 89;
        ctx.save();
        ctx.lineWidth = 5;
        ctx.strokeStyle = '#325FA2';
        ctx.beginPath();
        ctx.arc(0, 0, faceRadius, 0, Math. PI*2, true);
        ctx.closePath();
        ctx.stroke();
        ctx.restore();
    }
function drawClockFace ( ) { var faceRadius = 89 ; ctx . save ( ) ; ctx . lineWidth = 5 ; ctx . strokeStyle = '#325FA2' ; ctx . beginPath ( ) ; ctx . arc ( 0 , 0 , faceRadius , 0 , Math . PI * 2 , true ) ; ctx . closePath ( ) ; ctx . stroke ( ) ; ctx . restore ( ) ; }
Draws the background of the clock.
Draws the background of the clock .
// Drawing constraints for the clock face
 // Don't touch any previous settings on the stack
 // Styling for the clock face
 // Draw the clock face
 // Restore previous settings on the canvas stack
