Back to API Reference
Struct

FitBudgets

sealed

Uniform text-fitting adjustments resolved by the auto-size fit ladder and applied on top of shaped advances: extra tracking per non-zero-advance glyph, a horizontal glyph-scale multiplier, and a line-height multiplier.

public bool IsIdentity{ get }

Whether every adjustment is at its neutral value.

public bool IsAdvanceIdentity{ get }

Whether the advance-affecting adjustments are at their neutral values.

public static FitBudgets Identity{ get }

The neutral value: no tracking, no glyph scaling, no line-height scaling.

public float trackingEm

Tracking added to every non-zero glyph advance, in em (negative compresses).

public float glyphScale

Horizontal scale multiplier applied to glyph advances and quads; 1 is none.

public float lineHeightScale

Multiplier applied to every line's advance height; 1 is none.