FillPattern

data class FillPattern(val value: Value, val styleImage: StyleImage? = null)

Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

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.

Constructors

Link copied to clipboard
fun FillPattern(styleImage: StyleImage)

Construct the FillPattern with StyleImage.

Link copied to clipboard
fun FillPattern(value: String)

Construct the FillPattern with String.

Link copied to clipboard
fun FillPattern(expression: Expression)

Construct the FillPattern with Mapbox Expression.

Link copied to clipboard
fun FillPattern(value: Value, styleImage: StyleImage? = null)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard
val styleImage: StyleImage? = null
Link copied to clipboard