fromRect static method

DOMRect fromRect([
  1. DOMRectInit other
])
override

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

Implementation

external static DOMRect fromRect([DOMRectInit other]);