skia
    Preparing search index...

    Interface AnimatedImage

    See SkAnimatedImage.h for more information on this class.

    interface AnimatedImage {
        _type: "AnimatedImage";
        currentFrameDuration(): number;
        decodeNextFrame(): number;
        delete(): void;
        deleteLater(): void;
        getFrameCount(): number;
        getRepetitionCount(): number;
        height(): number;
        isAliasOf(other: any): boolean;
        isDeleted(): boolean;
        makeImageAtCurrentFrame(): Image | null;
        reset(): void;
        width(): number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _type: "AnimatedImage"

    Methods

    • Returns the length of the current frame in ms.

      Returns number

    • Decodes the next frame. Returns the length of that new frame in ms. Returns -1 when the animation is on the last frame.

      Returns number

    • Return the total number of frames in the animation.

      Returns number

    • Return the repetition count for this animation.

      Returns number

    • Returns the possibly scaled height of the image.

      Returns number

    • Returns a still image of the current frame or null if there is no current frame.

      Returns Image | null

    • Returns the possibly scaled width of the image.

      Returns number