You might as well dispense with the `*Coor` variables.  For leftCoor, it would be:

    context.moveTo( left, top+height/2 );