Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TextLayout

Index

Constructors

constructor

  • new TextLayout(data: any, text: any, options?: object): TextLayout

Properties

Private _fallbackSpaceGlyph

_fallbackSpaceGlyph: any

Private _fallbackTabGlyph

_fallbackTabGlyph: any

Private ascender

ascender: any

Private baseline

baseline: any

Private capHeight

capHeight: any

Private descender

descender: any

Private fallbackSpaceGlyph

fallbackSpaceGlyph: any

Private fallbackTabGlyph

fallbackTabGlyph: any

Private fontData

fontData: any

Private glyphs

glyphs: any = []

Private height

height: any

Private lineHeight

lineHeight: any

Private linesTotal

linesTotal: any

Private options

options: any

Private width

width: any

Private xHeight

xHeight: any

Methods

extendObject

  • extendObject(objectData: object, data: object): object
  • Parameters

    • objectData: object
      • [index: string]: any
    • data: object
      • [index: string]: any

    Returns object

    • [index: string]: any

findChar

  • findChar(objectValue: object, value: any): string | -1
  • Parameters

    • objectValue: object
      • [index: string]: any
    • value: any

    Returns string | -1

getAlignType

  • getAlignType(align: string): 0 | 1 | 2

getGlyph

  • getGlyph(font: any, id: any): any

getMGlyph

  • getMGlyph(fontData: any): any

setupSpaceGlyphs

  • setupSpaceGlyphs(fontData: any): void

update

  • update(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc