NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/g2/esm/util/transform.d.ts

28 lines
879 B
TypeScript
Raw Normal View History

2023-09-14 14:47:11 +08:00
import { IGroup, IShape } from '../dependents';
declare const transform: (m: number[], actions: any[][]) => number[];
export { transform };
/**
*
* @param element
* @param x x
* @param y y
*/
export declare function translate(element: IGroup | IShape, x: number, y: number): void;
/**
*
* @param element
* @param rotateRadian
*/
export declare function rotate(element: IGroup | IShape, rotateRadian: number): void;
/**
*
* @returns identity matrix
*/
export declare function getIdentityMatrix(): number[];
/**
*
* @param element
* @param ratio
*/
export declare function zoom(element: IGroup | IShape, ratio: number): void;