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