backgroundColor

open override fun backgroundColor(backgroundColor: String): BackgroundLayer

The color with which the background will be drawn.

Use static method BackgroundLayer.defaultBackgroundColor to set the default property.

Parameters

backgroundColor

value of backgroundColor

open override fun backgroundColor(backgroundColor: Expression): BackgroundLayer

The color with which the background will be drawn.

Use static method BackgroundLayer.defaultBackgroundColorAsExpression to set the default property.

Parameters

backgroundColor

value of backgroundColor as Expression

open override fun backgroundColor(@ColorInt backgroundColor: Int): BackgroundLayer

The color with which the background will be drawn.

Use static method BackgroundLayer.defaultBackgroundColorAsColorInt to set the default property.

Parameters

backgroundColor

value of backgroundColor

val backgroundColor: String?

The color with which the background will be drawn.