PMA.UI Documentation by Pathomation

AIImageAnalysisResults

PMA.UI.Components AIImageAnalysisResults

Represents a UI component that allows the manipulation of AI analysis annotations.

Constructor

new AIImageAnalysisResults(options)

Source:
Parameters:
Name Type Description
options object Configuration options
Properties
Name Type Attributes Default Description
annotationManager AnnotationManager The annotation manager to use.
element string | HTMLElement Selector or HTML element where the UI will be rendered.
zoomOnNavigation boolean <optional>
false Whether or not zoom to or just highlight annotation on focus.
focusOnSelection boolean <optional>
false Whether or not focus on selected annotation.

Methods

getFocusOnSelection() → {boolean}

Source:
Gets the state of the focusOnSelection option
Returns:
Type
boolean

getZoomOnNavigation() → {boolean}

Source:
Gets the state of the zoomOnNavigation option
Returns:
Type
boolean

setFocusOnSelection() → {boolean}

Source:
Toggles the focusOnSelection option
Returns:
Type
boolean

setZoomOnNavigation() → {boolean}

Source:
Toggles the zoomOnNavigation option
Returns:
Type
boolean