Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

  • IDisposable

Index

Constructors

constructor

Properties

Protected copyProps

copyProps: ICopyProps

Protected fontProps

fontProps: IFontProps

Protected glyphAdvX

glyphAdvX: Array<number>

Protected glyphOffset

glyphOffset: [number, number, number, number]

Protected lineBreaks

lineBreaks: Array<ILineBreak>

Protected lineHeight

lineHeight: number

Protected positioning

positioning: Array<ILinePositioning>

Protected renderOptions

renderOptions: IRenderOptions

Protected unitsPerPx

unitsPerPx: number

Methods

calcLineBreaks

calculateLineHeight

  • calculateLineHeight(): number

calculatePositioning

calculateUnitsPerPx

  • calculateUnitsPerPx(): number

dispose

  • dispose(): void

getGlyphAdvX

  • getGlyphAdvX(): Array<number>

getGlyphOffset

  • getGlyphOffset(): [number, number, number, number]

isDisposed

  • isDisposed(): boolean
  • After dispose has been called, this method returns true. Use this method to determine whether dispose() should be run again.

    Returns boolean

render

Generated using TypeDoc