project/node_modules/zrender/lib/graphic/shape/Circle.d.ts

17 lines
455 B
TypeScript
Raw Normal View History

2024-07-14 15:48:34 +08:00
import Path, { PathProps } from '../Path';
export declare class CircleShape {
cx: number;
cy: number;
r: number;
}
export interface CircleProps extends PathProps {
shape?: Partial<CircleShape>;
}
declare class Circle extends Path<CircleProps> {
shape: CircleShape;
constructor(opts?: CircleProps);
getDefaultShape(): CircleShape;
buildPath(ctx: CanvasRenderingContext2D, shape: CircleShape): void;
}
export default Circle;