Possible duplicate [How to make custom brush for canvas in android?](https://stackoverflow.com/q/8428874/760489)

Hello friends,

I am too stuck to create this type of brush for paint application, but didn't find anything related to this.

I am new to paint/canvas so I don't have knowledge about this for the basic I have completed but for the effect like creating brush I didn't have anything like how to create/implement it. Does anybody have example of or code for this?

I need this type of brush for my application simple one example need for understanding:

![enter image description here](https://i.stack.imgur.com/DQJkB.jpg)

Thank you.