panBy

Moves the viewport center by a displacement in content units.

Known geometry clamps the result so content remains centered on axes smaller than the viewport and no larger axis exposes space beyond its bounds. Before geometry is known, the requested center is retained for the first viewport publication.

Return

the resulting clamped center.

Parameters

delta

finite content-coordinate displacement.

Throws

when arithmetic produces a non-finite coordinate.

when called from another execution owner or synchronously from an observer callback.

when a state observer fails after the new metrics are committed.