Constructors

  • Parameters

    • width: number
    • height: number

    Returns Size

Properties

height: number
width: number

Methods

  • Returns boolean

  • Parameters

    • Optional heightBased: boolean

    Returns number

  • Parameters

    • other: Size
    • Optional heightBased: boolean

    Returns number

  • Parameters

    • element: HTMLElement

    Returns Size

  • Parameters

    • json: {
          height: number;
          width: number;
      }
      • height: number
      • width: number

    Returns Size

  • Parameters

    Returns boolean

  • Parameters

    • original: Size
    • amount: number

    Returns Size

Generated using TypeDoc