public class CPDFStampAnnotImpl extends CPDFAnnotDefaultImpl
enableDragShowMagnifier, enableZoomShowMagnifierannotIndex, isDirty| Constructor and Description |
|---|
CPDFStampAnnotImpl() |
| Modifier and Type | Method and Description |
|---|---|
android.graphics.PointF |
convertPointFromPage(float px,
float py) |
void |
onAnnotAttrChange()
Called when annotation attribute changes
|
void |
onDraw(android.content.Context context,
android.graphics.Canvas canvas,
float scale)
Draw
|
void |
onInit(ReaderView readerView,
PageView pageView,
CPDFPage tpdfPage,
CPDFAnnotation pdfAnnotation)
Initialization, set initial value of
CPDFReaderView in current class instance, CPDFPageView, CPDFPage, CPDFAnnotation. |
boolean |
onTouchEvent(android.view.MotionEvent event)
This method to handle touch screen motion events.
|
void |
setEnableRotate(boolean enable) |
getRequest, getSize, onDestroy, onGetAnnotation, onLoadCleared, onLoadFailed, onLoadStarted, onResourceReady, onSingleTapUp, onStart, onStop, removeCallback, setRequestcheckFocusable, checkFocusType, close, compare, getAnnotationRect, getAnnotAttr, getAnnotType, getId, isFocused, isVisible, onLongPress, redo, release, setFocused, setVisible, undopublic void setEnableRotate(boolean enable)
public 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 android.graphics.PointF convertPointFromPage(float px,
float py)
public boolean onTouchEvent(android.view.MotionEvent event)
IInputEventHandleronTouchEvent in interface IInputEventHandleronTouchEvent in class CPDFAnnotDefaultImplevent - The motion event.public void onInit(ReaderView readerView, PageView pageView, CPDFPage tpdfPage, CPDFAnnotation pdfAnnotation)
IAnnotationImplCPDFReaderView in current class instance, CPDFPageView, CPDFPage, CPDFAnnotation.onInit in interface IAnnotationImpl<CPDFAnnotation>onInit in class CPDFAnnotDefaultImplreaderView - Used for showing View in the whole documentpageView - Used for showing View of each page in the documenttpdfPage - Page object of document, more: CPDFPagepdfAnnotation - Annotation object of document, more: CPDFAnnotationpublic void onAnnotAttrChange()
IAnnotationAttrChangeonAnnotAttrChange in interface IAnnotationAttrChange<CPDFAnnotation>onAnnotAttrChange in class CPDFAnnotDefaultImpl