lineTrimOffset

open override fun lineTrimOffset(lineTrimOffset: List<Double>): LineLayer

The line part between trim-start, trim-end will be painted using line-trim-color, which is transparent by default to produce a route vanishing effect. The line trim-off offset is based on the whole line range 0.0, 1.0. Default value: 0,0. Minimum value: 0,0. Maximum value: 1,1.

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

Parameters

lineTrimOffset

value of lineTrimOffset


open override fun lineTrimOffset(lineTrimOffset: Expression): LineLayer

The line part between trim-start, trim-end will be painted using line-trim-color, which is transparent by default to produce a route vanishing effect. The line trim-off offset is based on the whole line range 0.0, 1.0. Default value: 0,0. Minimum value: 0,0. Maximum value: 1,1.

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

Parameters

lineTrimOffset

value of lineTrimOffset as Expression


The line part between trim-start, trim-end will be painted using line-trim-color, which is transparent by default to produce a route vanishing effect. The line trim-off offset is based on the whole line range 0.0, 1.0. Default value: 0,0. Minimum value: 0,0. Maximum value: 1,1.