zoomFactor property

num get zoomFactor

Gets or sets the amount by which #decreaseZoom and #increaseZoom change the Diagram#scale.

The default value is 1.05 (5%). The value must be a number larger than 1.0. Setting this property does not raise any events.

Implementation

_i2.num get zoomFactor => _i4.getProperty(
      this,
      'zoomFactor',
    );
set zoomFactor (num value)

Implementation

set zoomFactor(_i2.num value) {
  _i4.setProperty(
    this,
    'zoomFactor',
    value,
  );
}