import { ObjectManager } from "../../ObjectManager"; import { BorderEffect } from "./BorderEffect"; import type { BorderEffectProperties } from "./BorderEffect"; import { PolygonAnnotationBase, type PolygonAnnotationBaseProperties } from "./PolygonAnnotationBase"; /** * Defines properties a polygon annotation that displays a polygon on a page. * When opened, it displays a pop-up window containing the text of the associated note. * @see {@link PolygonAnnotation} */ export type PolygonAnnotationProperties = PolygonAnnotationBaseProperties & { type: "polygon"; /** * The {@link BorderEffectProperties} object defining effect applied to the annotation. */ borderEffect?: BorderEffectProperties; }; /** * Represents a polygon annotation that displays a polygon on a page. * When opened, it displays a pop-up window containing the text of the associated note. */ export declare class PolygonAnnotation extends PolygonAnnotationBase { /** * Creates a new {@link PolygonAnnotation}. * * @param om - {@link ObjectManager} that controls the lifetime of the {@link PolygonAnnotation}. */ constructor(om: ObjectManager); /** * Creates a new {@link PolygonAnnotation}. */ constructor(); /** * Gets or sets the the border effect applied to the polygon. */ get borderEffect(): BorderEffect; /** * Gets or sets the the border effect applied to the polygon. */ set borderEffect(value: BorderEffectProperties); }