座標を取得するサンプル

マウス座標X(e.client.X)
マウス座標Y(e.client.Y)
書込可否(myDraw)
canvasの左の余白(rect.left)
canvasの上の余白(rect.top)