Custom path line style when drawing on canvas
<p>I'm currently working on map overlay which highlights the route along specified points and I need to implement certain line style (something like on screenshot)</p>

<p><img src="http://i.stack.imgur.com/UaM1l.jpg" alt="route indication">
What I'm trying to do - is to highlight the route with something like transparent line with black stroke lines from both sides</p>

<p>Playing with different fill styles and Paint settings haven't led me to any solution so far.</p>

<p>Does anybody know what direction I need to look for?</p>

<p>Currently I managed to draw only solid line, but this is not what I'm looking for:</p>

<p><strong>Paint setup:</strong></p>

<pre><code>mPaint.setStyle(Paint.Style.STROKE);
mPaint.setColor(COLOR_DEFAULT);
mPaint.setPathEffect(new CornerPathEffect(10));
mPaint.setStrokeWidth(6);
mPaint.setAntiAlias(true);
</code></pre>

<p><strong>Drawing routine</strong></p>

<pre><code>canvas.drawPath(mPath, mPaint);
</code></pre>
