Home > @jsplumbtoolkit/browser-ui > Surface > getPan
Surface.getPan() method
Gets the current origin of the panned content.
Signature:
getPan(): PointXY;
Returns:
PointXY
Position, in pixels, of the panned content, where 0,0 is the origin of the viewport.