Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextMeasurements

Describes the final size and layout of a formatted text.

Hierarchy

  • TextMeasurements

Index

Properties

baseline

baseline: number

The distance between the top of the first line and the baseline of the first line of text.

height

height: number

The overall height.

minWidth

minWidth: number

The specified minimum width of the text.

textBaseline

textBaseline: number

The distance between the top of the bounding box and the baseline of the first line of text.

textHeight

textHeight: number

The actual height of the text itself, excluding leading and trailing whitespace between the text and the boundaries.

textLineHeight

textLineHeight: number

The height of a single line of text.

textWidth

textWidth: number

The actual width of the text itself, excluding leading and trailing whitespace between the text and the boundaries.

width

width: number

The overall width, including the possible leading and trailing whitespace between the text and the boundaries.

Generated using TypeDoc