@vivliostyle/core
    Preparing search index...

    Class Context

    Run-time instance of a scope and its children.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • rootScope: LexicalScope
      • viewportWidth: number
      • viewportHeight: number
      • fontSize: number

      Returns Context

    Properties

    actualPageHeight: number = null
    actualPageWidth: number = null
    docTitle: string = null
    fontSize: () => number
    initialFontSize: number
    isRelativeRootFontSize: boolean = null
    pageAreaHeight: number = null
    pageAreaWidth: number = null
    pageHeight: () => number
    pageVertical: boolean = null
    pageWidth: () => number
    pubTitle: string = null
    rootFontSize: number = null
    rootLineHeight: number = null
    rootScope: LexicalScope
    scopes: { [key: string]: ScopeContext } = {}
    viewportHeight: number
    viewportWidth: number

    Methods

    • Parameters

      • scope: LexicalScope
      • qualifiedName: string
      • params: Val[]
      • noBuiltInEval: boolean

        don't evaluate built-ins (for dependency calculations)

      Returns Val

    • Parameters

      • name: string
      • not: boolean

      Returns boolean

    • Parameters

      • feature: string
      • value: Val

      Returns boolean

    • Parameters

      • name: string
      • value: string
      • isFunc: boolean

      Returns boolean

    • Parameters

      • unit: string
      • isRoot: boolean
      • Optionalvertical: boolean

      Returns number