Micrio sizing and controller

Hierarchy

  • Canvas

Constructors

Properties

Methods

Constructors

Properties

element: HTMLCanvasElement = ...

The Micrio WebGL rendering <canvas> element

Methods

  • Get the screen pixel ratio

    Returns

    The device pixel ratio

    Parameters

    Returns number

  • Set virtual offset margins applied to all viewports

    Parameters

    • width: number

      The offset width in pixels

    • height: number

      The offset height in pixels

    Returns void

Generated using TypeDoc