You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
675 B

4 months ago
import type { IAnimation } from '@antv/g';
import type { RuntimeContext } from '../runtime/types';
import type { Keyframe } from '../types';
import type { BaseShapeStyleProps } from './shapes';
import { BaseShape } from './shapes';
export declare abstract class BaseElement<T extends BaseShapeStyleProps> extends BaseShape<T> {
protected get context(): RuntimeContext;
protected get parsedAttributes(): Required<T>;
/**
* <zh/>
*
* <en/> Animation frame execution function
*/
protected onframe(): void;
animate(keyframes: Keyframe[], options?: number | KeyframeAnimationOptions | undefined): IAnimation | null;
}