コード例 #1
0
        public void DrawText(Font font, SolidBrush brush, float x, float y, string text)
        {
            var paint = GetTextPaint(font);

            paint.Color = brush.ToAndroid().Color;             // this overwrites the color on the cached paint, but that's ok since it is only used here.
            Control.DrawText(text, x, y, paint);
        }