Android Question TextColor on Color <> TextColor

lip

Active Member
Licensed User
Longtime User
I use Canvas.DrawRect to draw a rectangular block. Bitmap.GetPixel(x,y) returns the color specified in DrawRect.

I then use Canvas.DrawText to write a label onto the Rectangle drawn above. Bitmap.GetPixel(x,y) on a part of the drawn text does not seem to return the color specified in DrawText.

Are the colors being combined? Or am I just doing it wrong?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…