lineOffset

open override fun lineOffset(lineOffset: Double): LineLayer

The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.

Use static method LineLayer.defaultLineOffset to set the default property.

Parameters

lineOffset

value of lineOffset

open override fun lineOffset(lineOffset: Expression): LineLayer

The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.

Use static method LineLayer.defaultLineOffsetAsExpression to set the default property.

Parameters

lineOffset

value of lineOffset as Expression

val lineOffset: Double?

The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.