NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/g2/esm/geometry/label/pie.d.ts
2023-09-14 14:47:11 +08:00

23 lines
717 B
TypeScript

import Geometry from '../base';
import { LabelItem } from './interface';
import PolarLabel from './polar';
/**
* 饼图 label
*/
export default class PieLabel extends PolarLabel {
defaultLayout: string;
constructor(geometry: Geometry);
protected getDefaultLabelCfg(): any;
protected getDefaultOffset(offset: any): any;
protected getLabelRotate(angle: number, offset: number, isLabelLimit: boolean): any;
protected getLabelAlign(point: LabelItem): any;
protected getArcPoint(point: any): any;
protected getPointAngle(point: any): any;
protected getCirclePoint(angle: any, offset: any, p?: any): {
angle: any;
r: any;
x: number;
y: number;
};
}