Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Page

Class representing a book page

Hierarchy

Index

Methods

Abstract draw

  • Render dynamic page, using state

    Parameters

    • Optional tempDensity: PageDensity

      Density at the time of rendering

    Returns void

getDensity

getDrawingDensity

getHardDrawingAngle

  • getHardDrawingAngle(): number

Abstract load

  • load(): void

setAngle

  • setAngle(angle: number): void
  • Set page angle

    Parameters

    • angle: number

    Returns void

setArea

  • setArea(area: Point[]): void

setDensity

setDrawingDensity

setHardDrawingAngle

  • setHardDrawingAngle(angle: number): void
  • Rotate angle for hard pages

    Parameters

    • angle: number

    Returns void

setOrientation

setPosition

  • setPosition(pagePos: Point): void

Abstract simpleDraw

Generated using TypeDoc