DOMRect: {
    prototype: DOMRect;
    fromRect(other?): DOMRect;
    new (x?, y?, width?, height?): DOMRect;
}

Type declaration

    • new (x?, y?, width?, height?): DOMRect
    • Parameters

      • Optional x: number
      • Optional y: number
      • Optional width: number
      • Optional height: number

      Returns DOMRect

  • prototype: DOMRect
  • fromRect:function