UNPKG

@antv/g

Version:

A core module for rendering engine implements DOM API.

21 lines 766 B
import type { BaseStyleProps, DisplayObjectConfig } from '@antv/g-lite'; import { CustomElement } from '@antv/g-lite'; export interface SectorStyleProps extends BaseStyleProps { startAngle: number; endAngle: number; sr0: number; sr: number; sradius: number; sx: number; sy: number; } export declare class Sector extends CustomElement<SectorStyleProps> { static PARSED_STYLE_LIST: Set<string>; static tag: string; private path; constructor(config: DisplayObjectConfig<SectorStyleProps>); attributeChangedCallback<Key extends keyof SectorStyleProps>(name: Key, oldValue: SectorStyleProps[Key], newValue: SectorStyleProps[Key]): void; private updatePath; private createPath; } //# sourceMappingURL=Sector.d.ts.map