stepGranularity property

double stepGranularity

The step size in which the font size is being adapted to constraints.

The Text scales uniformly in a range between minFontSize and maxFontSize. Each increment occurs as per the step size set in stepGranularity.

Most of the time you don't want a stepGranularity below 1.0.

Is being ignored if presetFontSizes is set.


final double stepGranularity;