method DOMRectReadOnly.fromRect
#DOMRectReadOnly.fromRect(other?: DOMRectInit): DOMRectReadOnlyThe fromRect() static method of the DOMRectReadOnly object creates a new DOMRectReadOnly object with a given location and dimensions.
Parameters #
#other: DOMRectInit optional