Skip to content
FutureBlitz

    Install

    Import std.image.animation

    Frame

    std.image.animation

    struct

    Public Struct Frame

    One of an Animation's frames: its image, and how long it's shown, in milliseconds.

    Examples

    Local frame = Frame(Image(1, 1), 100)
    Expect(frame.Delay == 100 && frame.Image.Width == 1)

    std/image/animation.fb, line 19

    • Public Field Image: Image field #

      What the frame shows.

    • Public Field Delay: Int field #

      How long it's shown, in milliseconds.

    Report an issue with this page or with FutureBlitz on GitHub.