import type { IPoint } from "../../core/util/IPoint"; import { Graphics, IGraphicsSettings, IGraphicsPrivate } from "../../core/render/Graphics"; export interface IFunnelSliceSettings extends IGraphicsSettings { /** * Width of the slice's top edge (its left edge when horizontal), in * pixels. */ topWidth?: number; /** * Width of the slice's bottom edge (its right edge when horizontal), in * pixels. */ bottomWidth?: number; /** * `"vertical"` for a slice of a top-to-bottom series, `"horizontal"` for * one of a left-to-right series. */ orientation?: "vertical" | "horizontal"; /** * Curves the slice's sides outward, by a fraction of its height (its width * when horizontal); a negative value curves them inward. `0` keeps them * straight. */ expandDistance?: number; /** * Radius of the top-left corner in pixels. * * @since 5.11.2 */ cornerRadiusTL?: number; /** * Radius of the top-right corner in pixels. * * @since 5.11.2 */ cornerRadiusTR?: number; /** * Radius of the bottom-right corner in pixels. * * @since 5.11.2 */ cornerRadiusBR?: number; /** * Radius of the bottom-left corner in pixels. * * @since 5.11.2 */ cornerRadiusBL?: number; } export interface IFunnelSlicePrivate extends IGraphicsPrivate { } /** * A slice of a [[FunnelSeries]] or [[PyramidSeries]]: a trapezoid whose sides * can curve. The links between slices are also drawn with it. */ export declare class FunnelSlice extends Graphics { _settings: IFunnelSliceSettings; _privateSettings: IFunnelSlicePrivate; static className: string; static classNames: Array; protected _projectionDirty: boolean; protected _tlx: number; protected _tly: number; protected _trx: number; protected _try: number; protected _blx: number; protected _bly: number; protected _brx: number; protected _bry: number; protected _cprx: number; protected _cplx: number; protected _cpry: number; protected _cply: number; protected _afterNew(): void; getPoint(locationX: number, locationY: number): IPoint; _changed(): void; } //# sourceMappingURL=FunnelSlice.d.ts.map