How to extend the Drawn line?

I am creating a drawing tool app, where in i need to extend the drawn line from x2,y2 or extend the line from x1,y2. Can any one please suggest me how to do this?

Sign In or Register to comment.