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