Moved effect options to configuration

This commit is contained in:
Steffen Kolmer 2020-10-21 17:58:54 +02:00
parent cb79e38377
commit 3ea4560019
4 changed files with 37 additions and 8 deletions

View file

@ -1,3 +1,7 @@
export interface ICanvasEffectConstructable {
new(options?: { [key: string]: any }): ICanvasEffect
}
export default interface ICanvasEffect {
start: (canvas: HTMLCanvasElement, timeout?: number) => Promise<void>,
stop: () => Promise<void>,