Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Glass
    • Grender

Index

Constructors

constructor

  • new Grender(params: any): Grender

Properties

DPR

DPR: number

bounds

bounds: any

element

element: any

event

event: any

height

height: number

isMouseDown

isMouseDown: boolean = false

rendererManager

rendererManager: default

subscribers

subscribers: Function[]

width

width: number

Methods

_eventHandler

  • _eventHandler(e: any): void

_setInteractable

addRenderer

  • addRenderer(rendererName: any): default
  • Parameters

    • rendererName: any

    Returns default

emitSubscribers

  • emitSubscribers(event: any, originEvent: any): void
  • Parameters

    • event: any
    • originEvent: any

    Returns void

getBounds

  • getBounds(): { centerX: any; centerY: any; height: any; width: any; x: any; y: any }
  • Returns { centerX: any; centerY: any; height: any; width: any; x: any; y: any }

    • centerX: any
    • centerY: any
    • height: any
    • width: any
    • x: any
    • y: any

getScrollOffsets

  • getScrollOffsets(): { x: number; y: number }
  • Returns { x: number; y: number }

    • x: number
    • y: number

getViewportSize

  • getViewportSize(): { x: number; y: number }
  • Returns { x: number; y: number }

    • x: number
    • y: number

setAttrSize

  • setAttrSize(width: number, height: number): void
  • Parameters

    • width: number
    • height: number

    Returns void

setStyleSize

  • setStyleSize(width: number, height: number): void
  • Parameters

    • width: number
    • height: number

    Returns void

subscribe

  • subscribe(subscriber: Function): void
  • Parameters

    • subscriber: Function

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method

Generated using TypeDoc