The Resizable contract.

Implemented by objects that can be resized.

interface Resizable {
    setSize(width: number, height: number): void;
}

Implemented by

Methods

Methods

  • Sets the size of this object.

    Parameters

    • width: number

      The width.

    • height: number

      The height.

    Returns void