fillColor

open override fun fillColor(fillColor: String): FillLayer

The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.

Use static method FillLayer.defaultFillColor to set the default property.

Parameters

fillColor

value of fillColor

open override fun fillColor(fillColor: Expression): FillLayer

The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.

Use static method FillLayer.defaultFillColorAsExpression to set the default property.

Parameters

fillColor

value of fillColor as Expression

open override fun fillColor(@ColorInt fillColor: Int): FillLayer

The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.

Use static method FillLayer.defaultFillColorAsColorInt to set the default property.

Parameters

fillColor

value of fillColor

val fillColor: String?

The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.