[Go to site: main page, start]

Interface CanvasAnimationPanOptions

interface CanvasAnimationPanOptions {
    duration?: number;
    easing?: string | Function;
    speed?: number;
}
Index

Properties

duration?: number

The total duration of the animation in milliseconds; used if speed is not set. Default: 250.

easing?: string | Function

An easing function passed to foundry.canvas.animation.CanvasAnimation.animate. Default: "easeInOutCosine".

speed?: number

The speed of animation in pixels per second; overrides duration if set.