← back to roto on ba3a.dev

AnimationOptions

data class AnimationOptions(val format: AnimationFormat = AnimationFormat.GIF, val scale: Int = DEFAULT_EXPORT_SCALE, val background: Int? = null)

The choices of one animated export. Whether it loops is not among them: that is the clip's own.

Constructors

Link copied to clipboard
constructor(format: AnimationFormat = AnimationFormat.GIF, scale: Int = DEFAULT_EXPORT_SCALE, background: Int? = null)

Properties

Link copied to clipboard

the opaque Argb colour behind the figure, or null to keep transparency

Link copied to clipboard

the file format

Link copied to clipboard
val scale: Int

the nearest-neighbour factor, NearestScale.MIN_FACTOR to NearestScale.MAX_FACTOR