Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to draw the circle on the canvas
when we draw the circle it must removes he circle ,which was created on the first click,
like wise when we click on another position ,it clears the previously drawn circle,and draw the circle on current position.
what logic should i use..
we have to use the the onTouch listener
Posted
Comments
Richard MacCutchan 10-Jun-15 3:51am    
what logic should i use.
I hate to state the obvious, but good programming logic would be best.

Now, if you have an actual programming question, then please edit your post and explain your problem.
Member 11749921 10-Jun-15 4:02am    
I have used my logic but when I click on the canvas .it creates the circle but it needs the two clicks to draw the circle .
Richard MacCutchan 10-Jun-15 4:39am    
Sorry, but no one can guess what that means. Please follow the advice in my previous post.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900