BackgroundPattern

fun BackgroundPattern(styleImage: StyleImage)

Construct the BackgroundPattern with StyleImage.


Construct the BackgroundPattern with String.


fun BackgroundPattern(expression: Expression)

Construct the BackgroundPattern with Mapbox Expression.


fun BackgroundPattern(value: Value, styleImage: StyleImage? = null)

Parameters

value

the property wrapped in Value to be used with native renderer.

styleImage

the optional style image that will be added to the style if available.