1 | import Path, { PathProps } from '../Path';
|
2 | export declare class RoseShape {
|
3 | cx: number;
|
4 | cy: number;
|
5 | r: number[];
|
6 | k: number;
|
7 | n: number;
|
8 | }
|
9 | export interface RoseProps extends PathProps {
|
10 | shape?: Partial<RoseShape>;
|
11 | }
|
12 | declare class Rose extends Path<RoseProps> {
|
13 | shape: RoseShape;
|
14 | constructor(opts?: RoseProps);
|
15 | getDefaultStyle(): {
|
16 | stroke: string;
|
17 | fill: string;
|
18 | };
|
19 | getDefaultShape(): RoseShape;
|
20 | buildPath(ctx: CanvasRenderingContext2D, shape: RoseShape): void;
|
21 | }
|
22 | export default Rose;
|