Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CanvasImageSequence

Hierarchy

  • CanvasImageSequence

Index

Constructors

constructor

Properties

isPlaying

isPlaying: boolean

lerpAmount

lerpAmount: number = 1

Methods

dispose

  • dispose(): void

flush

  • flush(): void

getActiveImages

  • getActiveImages(): Array<string>

getHexColorAtPoint

  • getHexColorAtPoint(coords: Vector): string

getImageSize

  • getImageSize(): Object

load

  • load(): Promise<void>

loadNewSet

makeImage

  • makeImage(source: string): Promise<HTMLImageElement | null>

play

  • play(from: number, to: number, duration: number): Promise<void>

renderByProgress

  • renderByProgress(n: number, noMultiInterpolate?: boolean): void

resize

  • resize(): void

setClipInterpolations

setMultiInterpolation

setSizingOptions

stop

  • stop(): void