Home > @jsplumbtoolkit/browser-ui > SurfaceRenderOptions > clampToBackground
SurfaceRenderOptions.clampToBackground property
When a background is in use, whether or not to clamp movement of the canvas so that some portion of the background is always visible.
Signature:
clampToBackground?: boolean;