Class Clo

whole document-representing class

Hierarchy

  • Clo

Constructors

Properties

attrs: {
    [index: string]: any;
}

the attributes for the Clo

Type declaration

  • [index: string]: any
mainStream: string[]

storing the text string into the main frame

preprocessors: Function[]

array of preprocessor functions to preprocess the mainStream

Methods

  • get the max height of the glyph[a, b, c]

    Parameters

    • nodeLine: BoxesItem[]

      the node line [a, b, c, ...]

    Returns number

  • register a function of preprocessor

    Parameters

    • f: Function

      a function

    Returns void

  • Parameters

    • attr: string
    • val: any

    Returns void

Generated using TypeDoc