Main Site Documentation

DrawString using Argb Colors


#1

Curious only. This is NOT a complaint!

If I try to use something like::

ArgbSolidBrush = new SolidBrush(Color.FromArgb(100, 0, 0, 0xAA));
myDisplay.DrawString(“Using TinyCLR 0.6.0”, myFont_NinaB, ArgbSolidBrush, 28, 190);

I receive :
An unhandled exception of type ‘System.NotSupportedException’ occurred in GHIElectronics.TinyCLR.Drawing.dll
Additional information: Alpha not supported.occurred

What is unique about drawing text using Alpha colors?


#2

It’s just something we haven’t implemented yet.


#3

Thank you!

I was just trying to fade out some text.