Options
All
  • Public
  • Public/Protected
  • All
Menu
namespace

Duck

description

All Types, Type Classes, Classes, Layers, and Configurations are stored here.

since

1.0.0-beta

Index

Functions

Const AutoCanvas

  • AutoCanvas(): { canvas: HTMLCanvasElement; ctx: CanvasRenderingContext2D }
  • memberof

    Duck

    description

    Returns a HTMLCanvasElement and CanvasRenderingContext2D, finds a canvas, if none exist, it creates and appends one

    Returns { canvas: HTMLCanvasElement; ctx: CanvasRenderingContext2D }

    • canvas: HTMLCanvasElement
    • ctx: CanvasRenderingContext2D

Generated using TypeDoc