This commit is contained in:
qwq
2026-06-04 11:01:29 +08:00
commit cccb578669
14509 changed files with 2636947 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
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;