diagram.d.ts 627 B

1234567891011121314151617
  1. export declare function computeTextCentre(interior: any, exterior: any): any;
  2. export declare function computeTextCentres(circles: any, areas: any): {};
  3. /**
  4. * 根据圆心(x, y) 半径 r 返回圆的绘制 path
  5. * @param x 圆心点 x
  6. * @param y 圆心点 y
  7. * @param r 圆的半径
  8. * @returns 圆的 path
  9. */
  10. export declare function circlePath(x: any, y: any, r: any): string;
  11. export declare function circleFromPath(path: any): {
  12. x: number;
  13. y: number;
  14. radius: number;
  15. };
  16. /** returns a svg path of the intersection area of a bunch of circles */
  17. export declare function intersectionAreaPath(circles: any): string;