Function: getAnnotationNearPointOnEnabledElement()
getAnnotationNearPointOnEnabledElement(
enabledElement,point,proximity):Annotation|null
"Find the annotation near the point on the enabled element." it will return the first annotation that is found.
Parameters
• enabledElement: IEnabledElement
The element that is currently active.
• point: Point2
The point to search near.
• proximity: number
The distance from the point that the annotation must be within.
Returns
Annotation | null
A Annotation object.