TextStyle Class

Definition

The character style of a run of text: font, size, fill colour, underline, strike-through, kerning and shaping. Immutable; the With* methods return a changed copy. A bold or italic run is a run in a bold or italic font.

public sealed class TextStyle

Remarks

ISO 32000-2 §9.3 (text state parameters: Tf selects the font and size) and §8.6.8 (the fill colour, set with the colour operators, paints the glyphs of the default text rendering mode). Underline and strike-through are not text state: they are filled rectangles (§8.5.3.3) drawn in the run's colour after the line's text object, as wide as the run on that line.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)

Properties (7)

Methods (7)