canZoomToFit method

bool canZoomToFit()

This predicate controls whether or not the user can invoke the #zoomToFit command.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. This method must not have any side-effects. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @return {boolean} This returns true if Diagram#allowZoom is true. @see #zoomToFit @since 1.1

Implementation

_i2.bool canZoomToFit() => _i4.callMethod(
      this,
      'canZoomToFit',
      [],
    );