zoomToRect method
Modifies the #scale and #position of the Diagram so that the viewport displays a given document-coordinates rectangle. @param {Rect} r rectangular bounds in document coordinates. @param {EnumValue=} scaling an optional value of either Diagram.Uniform (the default) or Diagram.UniformToFill. @since 1.1
Implementation
void zoomToRect(
_i3.Rect r, [
_i3.EnumValue? scaling,
]) {
_i4.callMethod(
this,
'zoomToRect',
[
r,
scaling ?? _i5.undefined,
],
);
}