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 = 0

Prefer a real italic face (family cut, variable ital/slnt axis, OS fallback); shear synthetically only if none exists.

public static readonly ItalicMode Synthetic = 1

Always shear by slant degrees, ignoring real faces.

public static readonly ItalicMode FontSlant = 2

Shear synthetically using the run font's own ItalicStyle.

public static readonly ItalicMode RealOnly = 3

Use a real italic face only; leave the text upright when none is available.