Hi all,
I am currently using canvas.drawLine to draw lines with a flat color.
However, that's a bit boring. I'd like to be able to do effects like "glow/neon", like this:
http://stackoverflow.com/questions/5014828/android-neon-tubing
After some B4A searching and Android googling, I think this involves using either:
- a radial gradient (or perhaps a linear gradient rotated?), or
- a glow effect using a Paint object/texture thingie
Is there a way to do this with a normal Canvas, or should I be using a more advanced drawing library like AcceleratedSurface or ABExtDrawing?
Any code samples?
As always, grateful for any help.
I am currently using canvas.drawLine to draw lines with a flat color.
However, that's a bit boring. I'd like to be able to do effects like "glow/neon", like this:
http://stackoverflow.com/questions/5014828/android-neon-tubing
After some B4A searching and Android googling, I think this involves using either:
- a radial gradient (or perhaps a linear gradient rotated?), or
- a glow effect using a Paint object/texture thingie
Is there a way to do this with a normal Canvas, or should I be using a more advanced drawing library like AcceleratedSurface or ABExtDrawing?
Any code samples?
As always, grateful for any help.