withFillColor

Set fill-color to initialise the polygonAnnotation with.

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.

Return

this

Parameters

fillColor

the fill-color value

fun withFillColor(fillColor: String): PolygonAnnotationOptions

Set fill-color to initialise the polygonAnnotation with.

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.

Return

this

Parameters

fillColor

the fill-color value with ColorInt format

fun withFillColor(@ColorInt() fillColor: Int): PolygonAnnotationOptions