system

Automatic scaling with custom mapping function.

Parameters

mapping

Transforms system font scale (Float) to symbol scale (Float).

Example: SymbolScaleBehavior.system { scale -> min(scale * 1.2f, 1.5f) }


Automatic scaling based on system font size. Scales symbols from 0.8x (small fonts) to 2.0x (accessibility sizes).