kvision / pl.treksoft.kvision.core / StyledComponent / colorName

colorName

open var colorName: Col?

Text color for the current component given with named constant (write only).

This property gives a convenient way to set the value of color property e.g.:

c.colorName = Col.GREEN

The value read from this property is always null.