import { IRTarget } from '@retikz/core'; import { FC } from 'react'; import { AngleInput, BoxAdjustmentProps, PathVisualProps, ShapeBox } from './shape-helpers'; export type CircleProps = PathVisualProps & AngleInput & BoxAdjustmentProps & { /** 按 box 拟合圆时取最短边(contain)还是最长边(cover) */ fit?: 'contain' | 'cover'; /** 用于拟合圆的 box 输入 */ box?: ShapeBox; /** 给定角度时的局部闭合方式 */ closed?: 'chord' | 'open' | 'sector'; } & ({ center: IRTarget; radius: number; } | { center: IRTarget; diameter: number; } | { from: [number, number]; to: [number, number]; } | { corner1: [number, number]; corner2: [number, number]; } | { box: ShapeBox; }); /** * Circle sugar——展开为 Path + circlePath step */ export declare const Circle: FC; //# sourceMappingURL=Circle.d.ts.map