FreeTextAnnotationUtils

This provides methods to help with working with FreeTextAnnotations.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
How to determine the size of the annotation.

Functions

Link copied to clipboard
open fun placeCallOutPoints(@NonNull freeTextAnnotation: FreeTextAnnotation)
This will place the call out points in the same way the UI will place them based on user interaction.
Link copied to clipboard
open fun resizeToFitText(@NonNull freeTextAnnotation: FreeTextAnnotation, @NonNull document: PdfDocument, @NonNull widthScaleMode: FreeTextAnnotationUtils.ScaleMode, @NonNull heightScaleMode: FreeTextAnnotationUtils.ScaleMode)
Resizes the given free text annotation so the text fits inside its bounds.