PaperScrollerViewport
Reactive zoom and viewport status returned by usePaperScrollerViewport.
Properties​
canZoomIn​
readonly canZoomIn: boolean;
Whether the scroller can zoom in further (below maxZoom).
canZoomOut​
readonly canZoomOut: boolean;
Whether the scroller can zoom out further (above minZoom).
visibleArea​
readonly visibleArea: Rect;
Visible area in graph coordinates, as a g.Rect (keeps geometry helpers).
zoom​
readonly zoom: number;
Current zoom level (1 = 100%).