lineWidthUnit

open override fun lineWidthUnit(lineWidthUnit: LineWidthUnit): LineLayer

Selects the unit of line-width. The same unit is automatically used for line-blur and line-offset. Note: This is an experimental property and might be removed in a future release. Default value: "pixels".

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

Parameters

lineWidthUnit

value of lineWidthUnit


open override fun lineWidthUnit(lineWidthUnit: Expression): LineLayer

Selects the unit of line-width. The same unit is automatically used for line-blur and line-offset. Note: This is an experimental property and might be removed in a future release. Default value: "pixels".

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

Parameters

lineWidthUnit

value of lineWidthUnit as Expression


Selects the unit of line-width. The same unit is automatically used for line-blur and line-offset. Note: This is an experimental property and might be removed in a future release. Default value: "pixels".