Back to API Reference
Enum

LeadingDistribution

Controls how extra leading from line-height is distributed relative to the content area.

Remarks

Different platforms use different models: HalfLeading — CSS standard: split equally above and below. LeadingAbove — Figma / iOS: all extra space above the line. LeadingBelow — Android View / legacy: all extra space below the line.
public static readonly LeadingDistribution HalfLeading = 0

Extra leading split equally above and below (CSS half-leading model).

public static readonly LeadingDistribution LeadingAbove = 1

All extra leading placed above the line (Figma model).

public static readonly LeadingDistribution LeadingBelow = 2

All extra leading placed below the line (Android View model).