Piccolo.NET

PPanEventHandler.ValidatePanningDelta Method 

Enforces the min and max auto-panning speeds, adjusting the given delta if necessary.

protected virtual float ValidatePanningDelta(
   float delta
);

Parameters

delta
The distance moved out of the canvas on the last drag event/

Return Value

The validated pan delta.

See Also

PPanEventHandler Class | UMD.HCIL.Piccolo.Event Namespace