4ea73c89e5d50e2b5d61c5bcc4a5a05acea3668d70e98338534f376252ffa96686cef4d62c444d936a15797596164bfbf37f4e9953c51121d130b41cd68c13 451 B

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