ViewChangeOptions Interface

Options that control how operations that change a viewport behave.

Extends

Methods

Name Description
onExtentsError(status: ViewStatus): ViewStatus Optional Function to be called when the extents are adjusted due to a limits error (view too larger or too small)  

Inherited methods

Name Inherited from Description
animationFinishedCallback(didComplete: boolean): void Optional ViewAnimationOptions Invoked when the animator is finished.

Properties

Name Type Description
animateFrustumChange undefined | boolean Whether the change should be animated or not.  
marginPercent undefined | MarginPercent The percentage of the view to leave blank around the edges.  
noSaveInUndo undefined | boolean Whether to save the result of this change into the view undo stack.  

Inherited properties

Name Type Inherited from Description
animationTime undefined | number ViewAnimationOptions Amount of time for animation, in milliseconds.
cancelOnAbort undefined | boolean ViewAnimationOptions if animation is aborted, don't move to end, leave at current point instead.
easingFunction undefined | EasingFunction ViewAnimationOptions easing function for animation.

Defined in

Last Updated: 12 June, 2024