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.
parttimejob/node_modules/zrender/lib/graphic/shape/Arc.d.ts

24 lines
574 B

1 month ago
import Path, { PathProps } from '../Path';
export declare class ArcShape {
cx: number;
cy: number;
r: number;
startAngle: number;
endAngle: number;
clockwise?: boolean;
}
export interface ArcProps extends PathProps {
shape?: Partial<ArcShape>;
}
declare class Arc extends Path<ArcProps> {
shape: ArcShape;
constructor(opts?: ArcProps);
getDefaultStyle(): {
stroke: string;
fill: string;
};
getDefaultShape(): ArcShape;
buildPath(ctx: CanvasRenderingContext2D, shape: ArcShape): void;
}
export default Arc;