import { Graphics, IGraphicsSettings, IGraphicsPrivate } from "./Graphics"; import type { IPoint } from "../util/IPoint"; export interface ISliceSettings extends IGraphicsSettings { /** * Outer radius in pixels. */ radius?: number; /** * Size of the slice in degrees, clockwise from `startAngle`. A negative * value runs counterclockwise. */ arc?: number; /** * Inner radius in pixels. A negative value is measured inwards from * `radius`. */ innerRadius?: number; /** * Start angle in degrees: `0` points right, and angles run clockwise. */ startAngle?: number; /** * Corner radius in pixels. */ cornerRadius?: number; /** * How far in pixels the slice is pulled out from the center, along its * middle angle. * * @default 0 */ shiftRadius?: number; /** * Pixels added to `radius`; can be negative. * * @default 0 */ dRadius?: number; /** * Pixels added to `innerRadius`; can be negative. * * @default 0 */ dInnerRadius?: number; } export interface ISlicePrivate extends IGraphicsPrivate { } /** * A slice of a circle or ring, as in a pie chart. * * @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/graphics/} for more info */ export declare class Slice extends Graphics { _settings: ISliceSettings; _privateSettings: ISlicePrivate; static className: string; static classNames: Array; /** * @ignore */ ix: number; /** * @ignore */ iy: number; protected _generator: import("d3-shape").Arc; _getTooltipPoint(): IPoint; _beforeChanged(): void; _changed(): void; } //# sourceMappingURL=Slice.d.ts.map