Implements

Constructors

Properties

Methods

Constructors

  • Create a DIBitmap instance. Instead of creating an instance in new mode, use create to create an instance.

    Parameters

    • Optionaloptions: Options

      Create a DIBitmap instance with the specified options.

    Returns DIBitmap

    const bitmap = await DIBitmap.create();
    

Properties

options: Options

Methods

  • Destroy the current object.

    Returns Promise<void>

  • Create an DIBitmap instance.

    Parameters

    • Optionaloptions: Options

      create an DIBitmap instance with the specified options.

    Returns Promise<DIBitmap>

    Return a DIBitmap instance.