ThorVG WebCanvas API - v1.1.4
    Preparing search index...

    Interface AnimationInfo

    The playback information of an animation, returned by Animation.info().

    interface AnimationInfo {
        totalFrames: number;
        duration: number;
        fps: number;
    }
    Index
    totalFrames: number

    The total number of frames in the animation. Frame numbering starts from 0.

    duration: number

    The duration of the animation in seconds.

    fps: number

    The number of frames per second, calculated as totalFrames / duration.