TextOffset

Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.

Parameters

value

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

Constructors

Link copied to clipboard
fun TextOffset(value: List<Double>)

Construct the TextOffset with List.

Link copied to clipboard
fun TextOffset(expression: Expression)

Construct the TextOffset with Mapbox Expression.

Link copied to clipboard
fun TextOffset(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard