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;
|