I want to draw line with glow effect like this
The problem - i must generate this line in program in dependence on user's interaction ( the form of line will be generated in onTouchEvent
- ACTION_MOVE
).
Can i generate this effect without xml files or drawing premaid bitmap ?
I imitate this effect in this way :
BlurMaskFilter
;I use Path class to generate line and save coordinates of
MOVE_ACTION
event to generate only part of path what i need.Create 2
Paint()
s:And draw twice my
Path()
: