# androidx.pdf.annotation

*** ** * ** ***

## Interfaces

|---|---|
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.OnAnnotationEditListener` | Callback interface for events related to the creation and modification of annotations. |
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.OnAnnotationLocatedListener` | Callback interface for annotation hit events. |
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.OnGestureClaimListener` | Callback interface for gesture coordination events. |
| `https://developer.android.com/reference/androidx/pdf/annotation/TextBoundsProvider` | A provider interface that abstracts the retrieval of text boundary information. |

## Classes

|---|---|
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView` | A custom Android `https://developer.android.com/reference/android/view/ViewGroup.html` responsible for drawing a collection of annotations onto a Canvas. |
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode` | Defines the current interaction mode of the `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView`. |
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Highlight` | Mode for creating new highlight annotations. |
| `https://developer.android.com/reference/androidx/pdf/annotation/PdfViewportState` | Represents the state of the viewport on which `https://developer.android.com/reference/androidx/pdf/view/PdfView` is overlaid. |
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Select` | Mode for selecting existing annotations (e.g. erase, drag, scale). |