NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/g2/esm/animate/index.d.ts

49 lines
1.6 KiB
TypeScript
Raw Normal View History

2023-09-14 14:47:11 +08:00
import { Coordinate, IGroup, IShape } from '../dependents';
import { AnimateCfg, Point } from '../interface';
import { AnimateExtraCfg } from './interface';
export declare const DEFAULT_ANIMATE_CFG: {
appear: {
duration: number;
easing: string;
};
update: {
duration: number;
easing: string;
};
enter: {
duration: number;
easing: string;
};
leave: {
duration: number;
easing: string;
};
};
/**
* @ignore
* elementName `animateType` `animateType`
* @param elementName
* @param coordinate
* @param animateType
*/
export declare function getDefaultAnimateCfg(elementName: string, coordinate: Coordinate, animateType?: string): any;
/**
* @ignore
*
* shape
* @param shape
* @param animateCfg
* @param cfg
*/
export declare function doAnimate(shape: IGroup | IShape, animateCfg: AnimateCfg, cfg: AnimateExtraCfg): void;
/**
* @ignore
* Geometry
* @param container
* @param animateCfg
* @param geometryType geometry
* @param coordinate
* @param minYPoint y
*/
export declare function doGroupAppearAnimate(container: IGroup, animateCfg: AnimateCfg, geometryType: string, coordinate: Coordinate, minYPoint: Point): void;