@antv/g2plot
Version:
An interactive and responsive charting library
18 lines (17 loc) • 627 B
TypeScript
export declare function computeTextCentre(interior: any, exterior: any): any;
export declare function computeTextCentres(circles: any, areas: any): {};
/**
* 根据圆心(x, y) 半径 r 返回圆的绘制 path
* @param x 圆心点 x
* @param y 圆心点 y
* @param r 圆的半径
* @returns 圆的 path
*/
export declare function circlePath(x: any, y: any, r: any): string;
export declare function circleFromPath(path: any): {
x: number;
y: number;
radius: number;
};
/** returns a svg path of the intersection area of a bunch of circles */
export declare function intersectionAreaPath(circles: any): string;