getDocumentBounds method

Rect getDocumentBounds([
  1. Rect? result
])

Returns the Rect in document coordinates for this object's bounds. If this GraphObject is a Part, the rect will be identical to its #actualBounds. @param {Rect=} result an optional Rect that is modified and returned. @return {Rect} in document coordinates. @see #getDocumentPoint @since 2.0

Implementation

_i3.Rect getDocumentBounds([_i3.Rect? result]) => _i4.callMethod(
      this,
      'getDocumentBounds',
      [result ?? _i5.undefined],
    );