Se è solo un segmento basta che usi la draw line:



this.moveTo(A._x,A._y);
this.onMouseDown = function(){
this.Clear();
this.drawLine(_xmouse,_ymouse);
}