Implements

Constructors

Properties

Methods

Constructors

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

    Parameters

    • Optionaloptions: Options

      Create a FloatRect instance with the specified options.

    Returns FloatRect

    const rect = await FloatRect.create();
    

Properties

options: Options

Methods

  • Destroy the current object.

    Returns Promise<void>

  • Create an FloatRect instance.

    Parameters

    • Optionaloptions: Options

      Create an FloatRect instance with the specified options.

    Returns Promise<FloatRect>

    Returns a promise that resolves with a FloatRect instance.