textHaloWidth

open override fun textHaloWidth(textHaloWidth: Double): SymbolLayer

Distance of halo to the font outline. Max text halo width is 1/4 of the font-size. Default value: 0. Minimum value: 0. The unit of textHaloWidth is in pixels.

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

Parameters

textHaloWidth

value of textHaloWidth


open override fun textHaloWidth(textHaloWidth: Expression): SymbolLayer

Distance of halo to the font outline. Max text halo width is 1/4 of the font-size. Default value: 0. Minimum value: 0. The unit of textHaloWidth is in pixels.

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

Parameters

textHaloWidth

value of textHaloWidth as Expression


Distance of halo to the font outline. Max text halo width is 1/4 of the font-size. Default value: 0. Minimum value: 0. The unit of textHaloWidth is in pixels.