public class CPDFFreetextAnnotImpl extends CPDFAnnotDefaultImpl
| Modifier and Type | Field and Description |
|---|---|
static boolean |
enableDragShowMagnifier |
static boolean |
enableZoomShowMagnifier |
annotIndex, isDirty| Constructor and Description |
|---|
CPDFFreetextAnnotImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAnnotAttrChange()
Called when annotation attribute changes
|
void |
onDraw(android.content.Context context,
android.graphics.Canvas canvas,
float scale)
Draw
|
CPDFFreetextAnnotation |
onGetAnnotation()
Gets the currently binding annotation instance
|
void |
onInit(ReaderView readerView,
PageView pageView,
CPDFPage tpdfPage,
CPDFFreetextAnnotation pdfFreetextAnnotation) |
boolean |
onTouchEvent(android.view.MotionEvent event)
This method to handle touch screen motion events.
|
getRequest, getSize, onDestroy, onInit, onLoadCleared, onLoadFailed, onLoadStarted, onResourceReady, onSingleTapUp, onStart, onStop, removeCallback, setRequestcheckFocusable, checkFocusType, close, compare, getAnnotationRect, getAnnotAttr, getAnnotType, getId, isFocused, isVisible, onLongPress, redo, release, setFocused, setVisible, undopublic static boolean enableDragShowMagnifier
public static boolean enableZoomShowMagnifier
public void onInit(ReaderView readerView, PageView pageView, CPDFPage tpdfPage, CPDFFreetextAnnotation pdfFreetextAnnotation)
public CPDFFreetextAnnotation onGetAnnotation()
IAnnotationAttrChangeonGetAnnotation in interface IAnnotationAttrChange<CPDFAnnotation>onGetAnnotation in class CPDFAnnotDefaultImplCPDFAnnotationpublic void onAnnotAttrChange()
IAnnotationAttrChangeonAnnotAttrChange in interface IAnnotationAttrChange<CPDFAnnotation>onAnnotAttrChange in class CPDFAnnotDefaultImplpublic void onDraw(android.content.Context context,
android.graphics.Canvas canvas,
float scale)
IAnnotationRenderonDraw in interface IAnnotationRenderonDraw in class CPDFAnnotDefaultImplcontext - Contextcanvas - The canvas on which the background will be drawnscale - Current scaling factorpublic boolean onTouchEvent(android.view.MotionEvent event)
IInputEventHandleronTouchEvent in interface IInputEventHandleronTouchEvent in class CPDFAnnotDefaultImplevent - The motion event.