我需要阅读什么才能用预定义的颜色为我绘制的图像着色。或者只是调整 alpha 值?我玩过 BlendMode,但我基本上不知道我在做什么。:)
下面的简化代码
_backgroundImage = UIImage.FromFile ("whiteblock.png");
var ctx = UIGraphics.GetCurrentContext ();
// What do I do here to tint or adjust alpha of the image
ctx.DrawImage (rect, _backgroundImage.CGImage);
谢谢
安克曼宁