Interface: AnimatedGIFOptions

AnimatedGIFOptions

Default options for all AnimatedGIF objects.

Properties:
Name Type Description
animationSpeed number

Speed of the animation

autoPlay boolean

Whether to start playing right away

autoUpdate boolean

Set to false to manage updates yourself

fps number

Fallback FPS if GIF contains no time information

loop boolean

To enable looping

onComplete null | (() => void)

The completed callback, optional

onFrameChange null | ((currentFrame: number) => void)

The frame callback, optional

onLoop null | (() => void)

The loop callback, optional

scaleMode PIXI.SCALE_MODE

Scale Mode to use for the texture

Members

animationSpeed number

Speed of the animation

autoPlay boolean

Whether to start playing right away

autoUpdate boolean

Set to false to manage updates yourself

fps number

Fallback FPS if GIF contains no time information

loop boolean

To enable looping

onComplete null | (() => void)

The completed callback, optional

onFrameChange null | ((currentFrame: number) => void)

The frame callback, optional

onLoop null | (() => void)

The loop callback, optional

scaleMode PIXI.SCALE_MODE

Scale Mode to use for the texture