Category / Section
Can I draw a text node with some background color value?
1 min read
Draw a text node with background color value
Yes, setting some color value to the TextNode.BackgroundStyle.Color property allow you to draw text node with the specified background color.
By default, the TextNode.BackgroundStyle.ColorAlphaFactor is set to Zero value .(i.e) the transparent value. So in order to display the background color, you need to set some value other than zero to the ColorAlphaFactor property.