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?
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?