Drawing in alpha channel
in
Programming Questions
•
2 years ago
Hello,
I am trying to achieve an image revealing effect with lines drawn by the user. To do this, I am placing a white square above the image to be revealed. What I would like to know is if it is possible to paint the alpha channel of this square in the space around the lines.
This would be better explained with an image:
I would appreciate any help!
Thank you
I am trying to achieve an image revealing effect with lines drawn by the user. To do this, I am placing a white square above the image to be revealed. What I would like to know is if it is possible to paint the alpha channel of this square in the space around the lines.
This would be better explained with an image:
I would appreciate any help!
Thank you
1