java.lang.Object | |
↳ | com.pdftron.pdf.controls.AnnotIndicatorManger |
This class manages annotation indicators
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | STATE_IS_FLUNG | Page has been flung. | |||||||||
int | STATE_IS_NORMAL | Page is in a normal state that is "good" for drawing annotation indicators. | |||||||||
int | STATE_IS_ZOOMING | Page is being zoomed. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnnotIndicatorManger(ToolManager toolManager) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
cleanup()
Cleans up resources.
| ||||||||||
void |
drawAnnotIndicators(Canvas canvas)
Draws annotation indicators onto the specified canvas.
| ||||||||||
void |
reset(boolean all)
Resets annotation indicators
| ||||||||||
void |
setCustomIndicatorBitmap(int drawableId)
Sets the custom indicator icon.
| ||||||||||
void |
setCustomIndicatorBitmap(Bitmap icon)
Sets the custom indicator icon.
| ||||||||||
void |
setIndicatorIconSize(int size)
Sets the size of indicator icons.
| ||||||||||
void |
updateState(int state)
Updates state.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Page has been flung. Only used in continuous modes.
Page is in a normal state that is "good" for drawing annotation indicators.
Page is being zoomed.
Cleans up resources.
Draws annotation indicators onto the specified canvas.
canvas | The canvas |
---|
Resets annotation indicators
all | True if all annotation indicators should be reset, False if only visible annotation indicators should be reset |
---|
Sets the custom indicator icon. Pass null if you want the default indicator icon.
drawableId | The drawable ID of the custom indicator icon |
---|
Sets the custom indicator icon. Pass null if you want the default indicator icon.
icon | The custom indicator icon |
---|
Sets the size of indicator icons.
size | The size of indicator icons |
---|
Updates state.
state | The state that can be one of
STATE_IS_NORMAL ,
STATE_IS_ZOOMING ,
STATE_IS_FLUNG
|
---|