Hello.
I'm creating a custom polygon drawing on a panel.
And this area in the drawing and you want to save as a transparent PNG file.
Rectangle, circle and so on. I found examples.
But I was not successful.
Can you help?
1. Build a Path while the user moves his finger.
2. Create a new canvas with a mutable bitmap.
3. Clip the second canvas using the path you built.
4. Draw the first bitmap to the second canvas.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.