import { IRStepAnisotropicRadius, IRTarget } from '@retikz/core'; import { FC } from 'react'; import { AngleInput, BoxAdjustmentProps, PathVisualProps, ShapeBox } from './shape-helpers'; export type EllipseProps = PathVisualProps & AngleInput & BoxAdjustmentProps & { /** 用于拟合椭圆的 box 输入 */ box?: ShapeBox; /** 给定角度时的局部闭合方式 */ closed?: 'chord' | 'open' | 'sector'; } & ({ center: IRTarget; radius: IRStepAnisotropicRadius; } | { center: IRTarget; diameterX: number; diameterY: number; } | { corner1: [number, number]; corner2: [number, number]; } | { box: ShapeBox; }); /** * Ellipse sugar——展开为 Path + ellipsePath step */ export declare const Ellipse: FC; //# sourceMappingURL=Ellipse.d.ts.map