import { ObjectManager } from "../../ObjectManager"; import { PolygonAnnotationBase, type PolygonAnnotationBaseProperties } from "./PolygonAnnotationBase"; import { LineEndingStyle } from "../../Enums"; import { type Color } from "../../Types"; /** * Defines properties of a polyline annotation. * When opened, it displays a pop-up window containing the text of the associated note. * @see {@link PolyLineAnnotation} */ export type PolyLineAnnotationProperties = PolygonAnnotationBaseProperties & { type: "polyline"; /** * The style of line start. */ lineStartStyle?: LineEndingStyle; /** * The style of line end. */ lineEndStyle?: LineEndingStyle; }; /** * Represents a polyline annotation. * When opened, it displays a pop-up window containing the text of the associated note. */ export declare class PolyLineAnnotation extends PolygonAnnotationBase { /** * Creates a new {@link PolyLineAnnotation}. * * @param om - {@link ObjectManager} that controls the lifetime of the {@link PolyLineAnnotation}. */ constructor(om: ObjectManager); /** * Creates a new {@link PolyLineAnnotation}. */ constructor(); /** * Gets or sets the style of line start. */ get lineStartStyle(): LineEndingStyle; /** * Gets or sets the style of line start. */ set lineStartStyle(value: LineEndingStyle); /** * Gets or sets the style of line end. */ get lineEndStyle(): LineEndingStyle; /** * Gets or sets the style of line end. */ set lineEndStyle(value: LineEndingStyle); /** * Gets or sets the interior color with which to fill the annotation's line endings. * Note! This property is a same as {@link PolygonAnnotationBase#fillColor}. */ get lineEndingsFillColor(): Color; /** * Gets or sets the interior color with which to fill the annotation's line endings. * Note! This property is a same as {@link PolygonAnnotationBase#fillColor}. */ set lineEndingsFillColor(value: Color); }