textHaloColor

open override fun textHaloColor(textHaloColor: String): SymbolLayer

The color of the text's halo, which helps it stand out from backgrounds. Default value: "rgba(0, 0, 0, 0)".

Use static method SymbolLayer.defaultTextHaloColor to set the default property.

Parameters

textHaloColor

value of textHaloColor


open override fun textHaloColor(textHaloColor: Expression): SymbolLayer

The color of the text's halo, which helps it stand out from backgrounds. Default value: "rgba(0, 0, 0, 0)".

Use static method SymbolLayer.defaultTextHaloColorAsExpression to set the default property.

Parameters

textHaloColor

value of textHaloColor as Expression


open override fun textHaloColor(@ColorInt textHaloColor: Int): SymbolLayer

The color of the text's halo, which helps it stand out from backgrounds. Default value: "rgba(0, 0, 0, 0)".

Use static method SymbolLayer.defaultTextHaloColorAsColorInt to set the default property.

Parameters

textHaloColor

value of textHaloColor


The color of the text's halo, which helps it stand out from backgrounds. Default value: "rgba(0, 0, 0, 0)".