LinePattern

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

Name of image in sprite to use for drawing image lines. For seamless patterns, image width 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 LinePattern(styleImage: StyleImage)

Construct the LinePattern with StyleImage.

Link copied to clipboard
fun LinePattern(value: String)

Construct the LinePattern with String.

Link copied to clipboard
fun LinePattern(expression: Expression)

Construct the LinePattern with Mapbox Expression.

Link copied to clipboard
fun LinePattern(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