This commit is contained in:
ChuXun
2025-10-25 19:18:43 +08:00
parent 4ce487588a
commit 02a830145e
3971 changed files with 1549956 additions and 2 deletions

22
node_modules/zrender/lib/graphic/shape/Sector.d.ts generated vendored Normal file
View File

@@ -0,0 +1,22 @@
import Path, { PathProps } from '../Path';
export declare class SectorShape {
cx: number;
cy: number;
r0: number;
r: number;
startAngle: number;
endAngle: number;
clockwise: boolean;
cornerRadius: number | number[];
}
export interface SectorProps extends PathProps {
shape?: Partial<SectorShape>;
}
declare class Sector extends Path<SectorProps> {
shape: SectorShape;
constructor(opts?: SectorProps);
getDefaultShape(): SectorShape;
buildPath(ctx: CanvasRenderingContext2D, shape: SectorShape): void;
isZeroArea(): boolean;
}
export default Sector;