java.lang.Object | ||
↳ | com.pspdfkit.ui.drawable.PdfDrawableProvider | |
↳ | com.pspdfkit.ui.note.AnnotationNoteHinter |
PdfDrawableProvider
creating visual contents hints for supported Annotation
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnnotationNoteHinter(Context context) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized List<? extends PdfDrawable> |
getDrawablesForPage(Context context, PdfDocument document, int pageIndex)
Returns all drawables for the given
document and pageIndex . | ||||||||||
void |
onAnnotationCreated(Annotation annotation)
Called when annotation has been created.
| ||||||||||
void |
onAnnotationRemoved(Annotation annotation)
Called when existing annotation has been removed.
| ||||||||||
void |
onAnnotationUpdated(Annotation annotation)
Called when existing annotation has changed.
| ||||||||||
void |
onAnnotationZOrderChanged(int pageIndex, List<Annotation> oldOrder, List<Annotation> newOrder)
Called when the z-order of annotations has changed on a specified page.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns all drawables for the given document
and pageIndex
. The framework may
call this method on any thread.
context | Context for resource resolution. |
---|---|
document | The currently loaded PdfDocument . |
pageIndex | Number of the page for which the drawables should be returned. |
Called when annotation has been created.
annotation | Annotation that has been created. |
---|
Called when existing annotation has been removed.
annotation | Annotation that has been removed. |
---|
Called when existing annotation has changed.
annotation | Annotation that has been changed. |
---|
Called when the z-order of annotations has changed on a specified page.
pageIndex | Index of the page where the z-order has changed. |
---|---|
oldOrder | The old order of annotations on the page. |
newOrder | The new order of annotations on the page. |