fromRect static method

DOMRectReadOnly fromRect([
  1. DOMRectInit other
])

The fromRect() static method of the DOMRectReadOnly object creates a new DOMRectReadOnly object with a given location and dimensions.

Implementation

external static DOMRectReadOnly fromRect([DOMRectInit other]);