documentationfor yFiles for HTML 2.6

ViewportLimiter

Used by CanvasComponent to limit the interactive movement of the viewport.

Inheritance Hierarchy
ViewportLimiter

Remarks

The viewportLimiter instance should be consulted whenever the user tries to change the viewport. Using method limitViewport the desired viewport can be validated by the implementation. Note that setting the zoom property or viewPoint property will not be influenced by implementations of this class. It is up to the caller to perform verification.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.ViewportLimiter

See Also

Constructors

Properties

Methods