I want to show the image like pen while drawing on the canvas. It looks like i am drawing threw pen.
And while i stop drawing, the image of pen should be hide.
Is it possible to do ?
If yes then what should i have to do to make it ?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
yes
take a bitmap in the canvas and draw it by specifying the coordinates
eg.
and ontouch event get the coordinates and redraw it by calling this method invalidate
eg .