Icard/angular-clarity-master(work.../node_modules/canvg/lib/Document/AnimateElement.d.ts

27 lines
910 B
TypeScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
import Property from '../Property';
import Document from './Document';
import Element from './Element';
export interface IProgress {
from?: Property;
to?: Property;
progress: number;
}
export default class AnimateElement extends Element {
type: string;
protected readonly begin: number;
protected readonly maxDuration: number;
protected readonly from: Property;
protected readonly to: Property;
protected readonly values: Property<string[]>;
protected duration: number;
protected initialValue: string;
protected initialUnits: string;
protected removed: boolean;
protected frozen: boolean;
constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
protected getProperty(): Property<any>;
calcValue(): string;
update(delta: number): boolean;
getProgress(): IProgress;
}
//# sourceMappingURL=AnimateElement.d.ts.map