java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pspdfkit.ui.rendering.AnnotationOverlayRenderStrategy.Strategy |
Enum with possible annotation overlay rendering strategies.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnnotationOverlayRenderStrategy.Strategy | AP_STREAM_RENDERING | Display rendered PDF appearance for annotation (i.e. | |||||||||
AnnotationOverlayRenderStrategy.Strategy | PLATFORM_RENDERING | Display annotation in platform view (if available). |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static AnnotationOverlayRenderStrategy.Strategy | valueOf(String name) | ||||||||||
final static Strategy[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Display rendered PDF appearance for annotation (i.e. its AP stream) in overlay.
Note that some annotation types (sound) are always displayed in overlay.
Annotations rendered using the AP stream are rendered as specified in the PDF document
and are therefore displayed the exact same way on all PDF spec compliant PDF readers.
Since documents can store arbitrary appearances for annotations, this means that PSPDFKit
has to switch to non-AP stream rendering upon editing an annotation. This can lead to
slightly slower annotation selection speeds than using PLATFORM_RENDERING
in
trade-off for higher rendering accuracy.
Display annotation in platform view (if available).
Note that certain annotation types are always displayed as if the AP_STREAM_RENDERING
strategy was set because there's no platform view needed to display
them. These include markup annotations, redaction and image/stamp annotations.