Type declaration
- new (x?, y?, width?, height?): DOMRectReadOnly
Parameters
Optional
x: numberOptional
y: numberOptional
width: numberOptional
height: number
fromRect:function
- fromRect(other?): DOMRectReadOnly
Parameters
Optional
other: DOMRectInit
MDN Reference