Advanced text metrics.

interface ExtendedTextMetrics {
    baseline?: number;
    italicAngle?: number;
    lineGap?: number;
    lineHeight: number;
    strikePosition?: number;
    strikeThickness?: number;
    underlinePosition?: number;
    underlineThickness?: number;
}

Hierarchy

  • Partial<TextMetrics>
  • Partial<FontMetrics>
    • ExtendedTextMetrics

Properties

baseline?: number
italicAngle?: number
lineGap?: number
lineHeight: number

This is the lineHeight and includes the lineGap

strikePosition?: number
strikeThickness?: number
underlinePosition?: number
underlineThickness?: number