android how to draw triangle, star, square , heart on the canvas
<p>I am able to draw circle and rectangle on canvas by using path.addCircle() and path.addRect().Like that i want on touch i am able to draw triangle, star, square and heart.
How can I do that?
Give me a way with sample examples.
Thanks</p>
