How to make custom brush for canvas in android?
<p>In my canvas application i want to use custom brushes like brushes in attached image.so please somebody help me fast how can i make custom brushes like attached image? </p>

<p>In my app i made doted line using following code:</p>

<pre><code> mPaint.setPathEffect(new DashPathEffect(new float[] { 8, 8 }, 0));
</code></pre>

<p>and getting Blur and Emboss effect using following code:</p>

<pre><code> mEmboss = new EmbossMaskFilter(new float[] { 1, 1, 1 }, 0.4f, 6, 3.5f);

 mBlur = new BlurMaskFilter(8, BlurMaskFilter.Blur.NORMAL);
</code></pre>

<p><img src="http://i.stack.imgur.com/d56h5.png" alt="enter image description here"></p>
