I have problem with DrawRect with Colors.Transparent.
Any transparent color construct with Colors.ARGB(A, R, G, B) with A = 0 and any of R, G or B <> 0 work fine, but with all 0 it draw black.
When you call DrawRect with Colors.Transparent (all 0) then it creates a "hole" in the canvas. This allows you to erase parts of the canvas and show the background.
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.