Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ArrangeOptions

Options for arranging a tokenized text.

Hierarchy

  • ArrangeOptions

Index

Properties

lineSpacing

lineSpacing: number

The height of the soace between lines, in pixels.

spaceWidth

spaceWidth: number

The width of the space between words, in pixels.

wordWrapWidth

wordWrapWidth: number

Maximum width of the text in pixels.

remarks

If a single word is longer than this it won't be broken and can possibly be larger than expected. Check ArrangedText.width returned from arrangeText to see if it's equal or smaller than the word wrap width you provided.

Generated using TypeDoc