decreaseZoom method

void decreaseZoom([
  1. num? factor
])

This command decreases the Diagram#scale by a given factor. This is normally invoked by the Ctrl-- and Keypad-- keyboard shortcuts.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {number=} factor This defaults to 1/#zoomFactor. The value should be less than one and greater than zero. @see #canDecreaseZoom

Implementation

void decreaseZoom([_i2.num? factor]) {
  _i4.callMethod(
    this,
    'decreaseZoom',
    [factor ?? _i5.undefined],
  );
}