import { ObjectBase } from "../../ObjectBase"; import type { BorderEffectType } from "../../Enums"; /** * Represents an effect to be applied to the border of an annotation, * allowing set a border effect in "json" form. * @example * let sa = new SquareAnnotation(); * sa.borderEffect = { type: BorderEffectType.Cloudy, intensity: 2 }; */ export type BorderEffectProperties = { /** * Gets or sets a number describing the intensity of the effect. Suggested values range from 0 to 2. */ intensity: number; /** * Gets or sets the border effect type. */ type: BorderEffectType; }; /** * Represents an effect to be applied to the border of an annotation. */ export declare class BorderEffect extends ObjectBase { /** * Gets or sets a number describing the intensity of the effect. Suggested values range from 0 to 2. */ get intensity(): number; /** * Gets or sets a number describing the intensity of the effect. Suggested values range from 0 to 2. */ set intensity(value: number); /** * Gets or sets the border effect type. */ get type(): BorderEffectType; /** * Gets or sets the border effect type. */ set type(value: BorderEffectType); }