You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
469 B
18 lines
469 B
import Path, { PathProps } from '../Path';
|
|
export declare class HeartShape {
|
|
cx: number;
|
|
cy: number;
|
|
width: number;
|
|
height: number;
|
|
}
|
|
export interface HeartProps extends PathProps {
|
|
shape?: Partial<HeartShape>;
|
|
}
|
|
declare class Heart extends Path<HeartProps> {
|
|
shape: HeartShape;
|
|
constructor(opts?: HeartProps);
|
|
getDefaultShape(): HeartShape;
|
|
buildPath(ctx: CanvasRenderingContext2D, shape: HeartShape): void;
|
|
}
|
|
export default Heart;
|