public class NoteDrawingTool extends ShapeDrawingTool
initAnnot(PointF), instantiates a Note Annotation using the values from NoteAnnotSettings;
adjusts the Annotations's bounds as the user drags; and calls finishDrawing() when the user releases.| Constructor and Description |
|---|
NoteDrawingTool(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
dragged(MotionEvent e)
This is called when the annotation is initially draw/placed
|
RectF |
getScreenLocation() |
void |
setInitAlpha(int alpha) |
void |
setInitBorderColor(int color) |
void |
setInitBorderWidth(float borderWidth) |
void |
setInitFillColor(int color) |
void |
setInitHasBorderColor(boolean hasColor) |
void |
setInitHasFillColor(boolean hasColor) |
boolean |
supportsFillColor() |
releaseddoubleTap, getInitAlpha, getInitBorderColor, getInitBorderWidth, getInitFillColor, isInitHasBorderColor, isInitHasFillColor, startDrawinggetPressed, presseddelete, getAnnot, getBounds, getDirtyRect, getPageView, getViewer, showNote, singleTappublic void dragged(MotionEvent e)
com.qoppa.notes.views.annotcomps.AnnotComponentMovabledragged in class ShapeDrawingToolpublic RectF getScreenLocation()
getScreenLocation in class AnnotComponentpublic void setInitBorderWidth(float borderWidth)
setInitBorderWidth in class AnnotDrawingToolpublic void setInitBorderColor(int color)
setInitBorderColor in class AnnotDrawingToolpublic void setInitHasBorderColor(boolean hasColor)
setInitHasBorderColor in class AnnotDrawingToolpublic void setInitFillColor(int color)
setInitFillColor in class AnnotDrawingToolpublic void setInitHasFillColor(boolean hasColor)
setInitHasFillColor in class AnnotDrawingToolpublic void setInitAlpha(int alpha)
setInitAlpha in class AnnotDrawingToolpublic boolean supportsFillColor()
supportsFillColor in class AnnotDrawingTool