setOverlaidAnnotationTypes

open fun setOverlaidAnnotationTypes(@NonNull overlayAnnotationTypes: EnumSet<AnnotationType>)

Sets annotation types that should be rendered as overlays.

If annotation is not rendered as overlay, it is rendered within the page image. Rendering as overlay performs better if you frequently change annotations, but might delay page display and increase memory usage.

STAMP annotations are always rendered as overlay in Instant that is used to show placeholder while the annotation image data is being downloaded.

Parameters

overlayAnnotationTypes

Annotation types that should be rendered as overlays.