echarts
Version:
Apache ECharts is a powerful, interactive charting and data visualization library for browser
10 lines (9 loc) • 372 B
TypeScript
import type Model from '../../model/Model.js';
import type Sector from 'zrender/lib/graphic/shape/Sector.js';
export declare function getSectorCornerRadius(model: Model<{
borderRadius?: string | number | (string | number)[];
}>, shape: Pick<Sector['shape'], 'r0' | 'r'>, zeroIfNull?: boolean): {
cornerRadius: number;
} | {
cornerRadius: number[];
};