source: imaps-frontend/node_modules/konva/lib/Animation.d.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 773 bytes
Line 
1import { Layer } from './Layer.js';
2import { IFrame, AnimationFn } from './types.js';
3export declare class Animation {
4 func: AnimationFn;
5 id: number;
6 layers: Layer[];
7 frame: IFrame;
8 constructor(func: AnimationFn, layers?: any);
9 setLayers(layers: null | Layer | Layer[]): this;
10 getLayers(): Layer[];
11 addLayer(layer: Layer): boolean;
12 isRunning(): boolean;
13 start(): this;
14 stop(): this;
15 _updateFrameObject(time: number): void;
16 static animations: Array<Animation>;
17 static animIdCounter: number;
18 static animRunning: boolean;
19 static _addAnimation(anim: any): void;
20 static _removeAnimation(anim: any): void;
21 static _runFrames(): void;
22 static _animationLoop(): void;
23 static _handleAnimation(): void;
24}
Note: See TracBrowser for help on using the repository browser.