Interface AnnotationOverlayRenderStrategy

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getOverlayRenderStrategy

        @NonNull() abstract AnnotationOverlayRenderStrategy.Strategy getOverlayRenderStrategy(@NonNull() Annotation annotation)

        Returns overlay render strategy that should be used for rendering specific annotation. This strategy defines how annotations that are displayed in overlay mode (i.e. views which are rendered as views inside the activities view hierarchy) should be rendered. By default, PSPDFKit uses PLATFORM_RENDERING for all annotations. You can override this behavior by setting a custom strategy using this method. for more information about the available render strategies please see AnnotationOverlayRenderStrategy.

        Parameters:
        annotation - Annotation that is being rendered in overlay.
        Returns:

        Annotation overlay strategy to use.