Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Drawer

Class for high-level drawing on a device.

Hierarchy

  • Drawer

Index

Constructors

Methods

Constructors

constructor

  • Creates a Drawer instance.

    Parameters

    • device: Device

      specific device implementation to be used as an underlying hardware for drawing to

    Returns Drawer

Methods

clear

  • clear(): Promise<void>

drawSvg

  • drawSvg(svg: string): Promise<void>
  • Draws a svg image on the device.

    Parameters

    • svg: string

      A svg which is to be drawed to the device.

    Returns Promise<void>

Generated using TypeDoc