lineTrimFadeRange

abstract fun lineTrimFadeRange(lineTrimFadeRange: List<Double> = listOf(0.0, 0.0)): LineLayer

The fade range for the trim-start and trim-end points is defined by the line-trim-offset property. The first element of the array represents the fade range from the trim-start point toward the end of the line, while the second element defines the fade range from the trim-end point toward the beginning of the line. The fade result is achieved by interpolating between line-trim-color and the color specified by the line-color or the line-gradient property. Default value: 0,0. Minimum value: 0,0. Maximum value: 1,1.

Parameters

lineTrimFadeRange

value of lineTrimFadeRange


abstract fun lineTrimFadeRange(lineTrimFadeRange: Expression): LineLayer

The fade range for the trim-start and trim-end points is defined by the line-trim-offset property. The first element of the array represents the fade range from the trim-start point toward the end of the line, while the second element defines the fade range from the trim-end point toward the beginning of the line. The fade result is achieved by interpolating between line-trim-color and the color specified by the line-color or the line-gradient property. Default value: 0,0. Minimum value: 0,0. Maximum value: 1,1.

Parameters

lineTrimFadeRange

value of lineTrimFadeRange as Expression