Back to API Reference
Struct
TextMeasureOptions
sealed
Box constraints and setting overrides for UniTextBase.MeasureText. Every null field falls back to the component's current value, so default measures the current text, as configured, at its natural unconstrained size. Overrides behave exactly like the matching component settings (with autoSize on, fontSize is ignored and minFontSize / maxFontSize drive the fit). Dimensions are outer (UniTextBase.Padding included).
