How can i draw path with translucent (semi-transparent) band on canvas (method onDraw in my custom View)? I draw path line by bezier curve (method path.quadTo), but i want to around the line was illuminated translucent band?
I tried several approaches:
- Try draw path by paint with semi-transparent color 0x8800ff00.
- Try use paint.setShader(new BitmapShader(semi-transparent background image)) and draw path by this paint;
But they did not help. There was no effect of translucency.