7c8ec5051c689dff3d34ccb78c9b8c2acfc53745af61ddfd5489060e53c9506ea5a6754c8ba1f9d4d2d777681a02e680270d299534827d85e5993fc10cb8e7 455 B

12345678910111213141516
  1. import Path, { PathProps } from '../Path';
  2. export declare class CircleShape {
  3. cx: number;
  4. cy: number;
  5. r: number;
  6. }
  7. export interface CircleProps extends PathProps {
  8. shape?: Partial<CircleShape>;
  9. }
  10. declare class Circle extends Path<CircleProps> {
  11. shape: CircleShape;
  12. constructor(opts?: CircleProps);
  13. getDefaultShape(): CircleShape;
  14. buildPath(ctx: CanvasRenderingContext2D, shape: CircleShape): void;
  15. }
  16. export default Circle;