import { Graphics, IGraphicsSettings, IGraphicsPrivate } from "./Graphics"; import type { IPoint } from "../util/IPoint"; export interface ILineSettings extends IGraphicsSettings { /** * Points the line goes through, in pixels from the line's position. */ points?: Array; /** * Separate pieces of the line, used when `points` is not set. Each piece is * a list of point arrays drawn as one continuous stroke. * * @since 5.1.4 */ segments?: Array>>; } export interface ILinePrivate extends IGraphicsPrivate { } /** * Draws a line through `points` or `segments`. With neither, it draws a * straight line from its top-left corner to its bottom-right one, at its * `width` and `height`. * * @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/graphics/} for more info * @important */ export declare class Line extends Graphics { _settings: ILineSettings; _privateSettings: ILinePrivate; static className: string; static classNames: Array; _beforeChanged(): void; _changed(): void; } //# sourceMappingURL=Line.d.ts.map