import type { IPoint } from "../util/IPoint"; import { Container, IContainerSettings, IContainerPrivate } from "./Container"; import { Triangle } from "./Triangle"; import { OrthogonalLine } from "./OrthogonalLine"; export interface ILinkSettings extends IContainerSettings { /** * Points the link goes through, in pixels. Between two points that differ * in both x and y it goes horizontally first, then vertically. */ points?: Array; cornerRadius?: number; } export interface ILinkPrivate extends IContainerPrivate { } /** * A connector made of horizontal and vertical segments through `points`, with * an arrow at each end, such as a dependency line in a Gantt chart. * * @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/graphics/} for more info * @important */ export declare class Link extends Container { _settings: ILinkSettings; _privateSettings: ILinkPrivate; static className: string; static classNames: Array; /** * The visible line. */ line: OrthogonalLine; /** * A wider, invisible copy of the line that makes the link easier to hover * and click. */ hitLine: OrthogonalLine; /** * The arrow at the first point. */ startArrow: Triangle; /** * The arrow at the last point. */ endArrow: Triangle; protected _afterNew(): void; _updateChildren(): void; } //# sourceMappingURL=Link.d.ts.map