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.

Following annotation types support overlay mode:

NOTE are always rendered as overlays.

Parameters

overlayAnnotationTypes

Annotation types that should be rendered as overlays.