public class CPDFSquigglyAnnotImpl extends CPDFMarkupAnnotImpl
annotIndex, isDirty
Constructor and Description |
---|
CPDFSquigglyAnnotImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
endSelecting(CPDFPage page,
java.util.List<CPDFTextSelection> selections) |
void |
onDraw(android.content.Context context,
android.graphics.Canvas canvas,
float scale)
Draw
|
void |
onInit(ReaderView readerView,
PageView pageView,
CPDFPage tpdfPage,
CPDFMarkupAnnotation annotation)
Initialization, set initial value of
CPDFReaderView in current class instance, CPDFPageView , CPDFPage , CPDFAnnotation . |
boolean |
selecting(CPDFPage page,
java.util.List<CPDFTextSelection> selections) |
boolean |
startSelect(CPDFPage page,
java.util.List<CPDFTextSelection> selections) |
onAnnotAttrChange, onGetAnnotation, onSingleTapUp, onTouchEvent
checkFocusable, checkFocusType, close, compare, getAnnotationRect, getAnnotAttr, getAnnotType, getId, isFocused, isVisible, onLongPress, redo, release, setFocused, setVisible, undo
public void onInit(ReaderView readerView, PageView pageView, CPDFPage tpdfPage, CPDFMarkupAnnotation annotation)
IAnnotationImpl
CPDFReaderView
in current class instance, CPDFPageView
, CPDFPage
, CPDFAnnotation
.onInit
in interface IAnnotationImpl<CPDFMarkupAnnotation>
onInit
in class CPDFMarkupAnnotImpl
readerView
- Used for showing View
in the whole documentpageView
- Used for showing View
of each page in the documenttpdfPage
- Page object of document, more: CPDFPage
annotation
- Annotation object of document, more: CPDFAnnotation
public void onDraw(android.content.Context context, android.graphics.Canvas canvas, float scale)
IAnnotationRender
context
- Contextcanvas
- The canvas on which the background will be drawnscale
- Current scaling factorpublic boolean startSelect(CPDFPage page, java.util.List<CPDFTextSelection> selections)
public boolean selecting(CPDFPage page, java.util.List<CPDFTextSelection> selections)
public boolean endSelecting(CPDFPage page, java.util.List<CPDFTextSelection> selections)