Back to API Reference
Class

ItalicModifier

Renders italic by slanting glyphs. Tags: <i> = auto, <i=20> = synthetic shear of 20% of height, <i=f> = the run font's own slant, <i=r> = a real italic face only.

public ItalicMode Mode{ get; set }

How italic is realized. A per-range value overrides it; this is the default for a bare tag or whole-text use.

public int Slant{ get; set }

Synthetic shear in percent of height (−100…100; 30 leans the top right by 0.30 of the height, ≈16.7°, not 30°), applied when Mode is Synthetic. A per-range value overrides it.

protected string AttributeKey{ get }
protected override AttributeChannel CreateChannel()
protected override void OnApply()