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