Initial commit
This commit is contained in:
24
node_modules/konva/lib/Animation.d.ts
generated
vendored
Normal file
24
node_modules/konva/lib/Animation.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { Layer } from './Layer';
|
||||
import { IFrame, AnimationFn } from './types';
|
||||
export declare class Animation {
|
||||
func: AnimationFn;
|
||||
id: number;
|
||||
layers: Layer[];
|
||||
frame: IFrame;
|
||||
constructor(func: AnimationFn, layers?: any);
|
||||
setLayers(layers: any): this;
|
||||
getLayers(): Layer[];
|
||||
addLayer(layer: any): boolean;
|
||||
isRunning(): boolean;
|
||||
start(): this;
|
||||
stop(): this;
|
||||
_updateFrameObject(time: any): void;
|
||||
static animations: any[];
|
||||
static animIdCounter: number;
|
||||
static animRunning: boolean;
|
||||
static _addAnimation(anim: any): void;
|
||||
static _removeAnimation(anim: any): void;
|
||||
static _runFrames(): void;
|
||||
static _animationLoop(): void;
|
||||
static _handleAnimation(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user