@vivliostyle/core
    Preparing search index...

    Class Style

    Index

    Constructors

    Properties

    cascade: Cascade
    counterStyleStore: CounterStyleStore
    flowProps: { [key: string]: ElementStyle }
    fontDeobfuscator: (p1: string) => (p1: Blob) => Result<Blob>
    fontFaces: FontFace[]
    footnoteProps: ElementStyle
    pageProps: { [key: string]: ElementStyle }
    pageScope: LexicalScope
    rootBox: RootPageBox
    rootScope: LexicalScope
    validatorSet: ValidatorSet
    viewportProps: ElementStyle[]

    Methods

    • Parameters

      • viewportWidth: number
      • viewportHeight: number
      • fontSize: number
      • Optionalpref: Preferences

      Returns { fontSize: number; height: number; width: number }