← back to roto on ba3a.dev

FlipbookFrame

class FlipbookFrame(val image: Raster, val durationMs: Int, val source: FlipbookSource)

One frame as the player shows it.

Constructors

Link copied to clipboard
constructor(image: Raster, durationMs: Int, source: FlipbookSource)

Properties

Link copied to clipboard

how long the frame shows, in milliseconds

Link copied to clipboard

the frame as RGBA at canvas size

Link copied to clipboard

the layer image was taken from