Type

RunStyle

What a stretch of a title's words wears over the title's own look: each field is an override, and one left out is the title's. Every word of a title is the title's style until a run says otherwise, so a title with no runs is exactly the title it always was.

Fields

  • colorstringoptional

    Fill colour as #rrggbb, over the title's color.

  • fontScalenumberoptional

    Size as a multiple of the title's fontSize, 0.1..=10: 1.5 is half as big again. Relative, not a size of its own, so a word made bigger stays bigger by as much when the whole title is resized.

  • fontWeightnumberoptional

    CSS-scale weight, 100..=900, over the title's fontWeight; bold is 700, regular 400.

  • italicbooloptional

    Italic or upright, over the title's italic.

  • strikethroughbooloptional

    Struck through or not, over the title's strikethrough.

  • strokeColorstringoptional

    Outline colour, over the title's strokeColor; shows where the title has an outline at all.

  • underlinebooloptional

    Underlined or not, over the title's underline.