Back to API Reference
Enum
TextUnderEdge
Specifies which metric defines the bottom edge of the text box.
Remarks
Controls how the last line contributes to the total text height. Matches CSS text-box-edge under-edge values and Figma Vertical Trim.
public static readonly TextUnderEdge Descent = 0Bottom edge at descent line — default, fits all descenders.
public static readonly TextUnderEdge Baseline = 1Bottom edge at baseline — tighter fit, matches Figma Vertical Trim.
public static readonly TextUnderEdge HalfLeading = 2Bottom edge includes half-leading — matches CSS and Figma Standard mode.
