Interface SurfacePanZoomParams

Payload for a pan/zoom event from a surface.

interface SurfacePanZoomParams {
    event?: Event;
    oldZoom: number;
    x: number;
    y: number;
    zoom: number;
}

Properties

Properties

event?: Event

Event that caused the pan. May be null.

oldZoom: number

previous zoom

x: number

Current x pan value

y: number

Current y pan value

zoom: number

current zoom

Version :