Back to API Reference
Enum
ItalicMode
How italic is realized. Auto prefers a real italic face and shears synthetically only when none exists; the others force one behaviour.
public static readonly ItalicMode Auto = 0Prefer a real italic face (family cut, variable ital/slnt axis, OS fallback); shear synthetically only if none exists.
public static readonly ItalicMode Synthetic = 1Always shear by slant degrees, ignoring real faces.
public static readonly ItalicMode FontSlant = 2Shear synthetically using the run font's own ItalicStyle.
public static readonly ItalicMode RealOnly = 3Use a real italic face only; leave the text upright when none is available.
