stepBasedAutoSize
fun stepBasedAutoSize(minFontSize: Float, maxFontSize: Float, stepSize: Float): AutoSizeSchema.StepBased
Automatic font-size scaling for SimpleText: the renderer picks the largest size, stepping down from maxFontSize to minFontSize by stepSize, that still lets the text fit its available space.
Parameters
minFontSize
Smallest font size tried, in sp.
maxFontSize
Largest font size tried, in sp.
stepSize
Decrement applied between each size tried, in sp.