rect property

Rect? get rect

An object specifying the area of the document to capture, in CSS pixels, relative to the page. If omitted, the currently visible viewport is captured.

Implementation

Rect? get rect => _wrapped.rect?.let(Rect.fromJS);
set rect (Rect? v)

Implementation

set rect(Rect? v) {
  _wrapped.rect = v?.toJS;
}