isViewportUnconstrained property

bool isViewportUnconstrained

Gets or sets whether this Animation should allow an unconstrained viewport during the runtime of the animation. This temporarily sets the Diagram#scrollMode to Diagram.InfiniteScroll, and restores the value at the end of the animation. This is done so that animating objects can move out of the viewport temporarily during the animation and not trigger scrollbars.

This may be useful to set for animations that have objects or the Diagram bounds animate from outside the viewport into the view. The default value is true.

Implementation

_i2.bool get isViewportUnconstrained => _i4.getProperty(
      this,
      'isViewportUnconstrained',
    );
void isViewportUnconstrained=(bool value)

Implementation

set isViewportUnconstrained(_i2.bool value) {
  _i4.setProperty(
    this,
    'isViewportUnconstrained',
    value,
  );
}