Color is used to change the color (RGB) of the text. The color value an be assignes as a whole, or individual Red, Green, and Blue values can be assigned.
The Color type depends on the platform.
Microsoft.Xna.Framework.Color
FlatRedBall
FNA
Kni
MonoGame
SkiaSharp.SKColor
Silk.NET
SkiaSharp
The following code shows how to assign Color:
MyText.Color = Color.Red;
Last updated 10 months ago
Was this helpful?