5c7592818c716101702e552602a0b538f01c5d2df3f1a068eacf0df3ea356e5d5e92052444faaf25c2181c17ae0aec6f73c7bc91a309d71e738c6d2e2a925b 489 B

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