public class CPDFLineAnnotImpl extends CPDFAnnotImpl<CPDFLineAnnotation>
| Modifier and Type | Field and Description |
|---|---|
static float[] |
DefaultDashArr |
static boolean |
enableDragShowMagnifier |
static boolean |
enableZoomShowMagnifier |
annotIndex, isDirty| Constructor and Description |
|---|
CPDFLineAnnotImpl() |
| 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
|
CPDFLineAnnotation |
onGetAnnotation()
Gets the currently binding annotation instance
|
void |
onInit(ReaderView readerView,
PageView pageView,
CPDFPage tpdfPage,
CPDFLineAnnotation pdfLineAnnotation)
Initialization, set initial value of
CPDFReaderView in current class instance, CPDFPageView, CPDFPage, CPDFAnnotation. |
boolean |
onSingleTapUp(float x,
float y)
Called when a tap occurs.
|
boolean |
onTouchEvent(android.view.MotionEvent event)
This method to handle touch screen motion events.
|
checkFocusable, checkFocusType, close, compare, getAnnotationRect, getAnnotAttr, getAnnotType, getId, isFocused, isVisible, onLongPress, redo, release, setFocused, setVisible, undopublic static boolean enableDragShowMagnifier
public static boolean enableZoomShowMagnifier
public static float[] DefaultDashArr
public void onInit(ReaderView readerView, PageView pageView, CPDFPage tpdfPage, CPDFLineAnnotation pdfLineAnnotation)
IAnnotationImplCPDFReaderView in current class instance, CPDFPageView, CPDFPage, CPDFAnnotation.onInit in interface IAnnotationImpl<CPDFLineAnnotation>onInit in class CPDFBaseAnnotImpl<CPDFLineAnnotation>readerView - Used for showing View in the whole documentpageView - Used for showing View of each page in the documenttpdfPage - Page object of document, more: CPDFPagepdfLineAnnotation - Annotation object of document, more: CPDFAnnotationpublic CPDFLineAnnotation onGetAnnotation()
IAnnotationAttrChangeCPDFAnnotationpublic void onAnnotAttrChange()
IAnnotationAttrChangepublic boolean onSingleTapUp(float x,
float y)
IInputEventHandlerx - The x coordinate on the page.y - The y coordinate on the page.public boolean onTouchEvent(android.view.MotionEvent event)
IInputEventHandlerevent - The motion event.public void onDraw(android.content.Context context,
android.graphics.Canvas canvas,
float scale)
IAnnotationRendercontext - Contextcanvas - The canvas on which the background will be drawnscale - Current scaling factor