DOMRect constructor

DOMRect([
  1. num? x,
  2. num? y,
  3. num? width,
  4. num? height,
])

Implementation

factory DOMRect([
  _i2.num? x,
  _i2.num? y,
  _i2.num? width,
  _i2.num? height,
]) =>
    _i4.callConstructor(
      _declaredDOMRect,
      [
        x ?? _i6.undefined,
        y ?? _i6.undefined,
        width ?? _i6.undefined,
        height ?? _i6.undefined,
      ],
    );