setUnit

fun setUnit(unit: LengthUnit)

Sets the length unit for maximum size and tightening threshold.

Allows the sizes to vary depending on the text scale factor.

Since

1.4

Parameters

unit

the length unit