public class

AnnotView

extends RelativeLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.RelativeLayout
         ↳ com.pdftron.pdf.widget.AnnotView

Summary

Nested Classes
enum AnnotView.SnapMode  
[Expand]
Inherited Constants
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
AnnotView(Context context)
AnnotView(Context context, AttributeSet attrs)
AnnotView(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
void animateActiveHandle()
void clearPositionGuidelines()
int getAnnotRotation()
int getAnnotUIRotation()
boolean getCanDraw()
PTCropImageView getCropImageView()
long getCurvePainterId()
AnnotDrawingView getDrawingView()
AutoScrollEditText getTextView()
RotateInfo handleRotation(PointF downPt, PointF movePt, boolean done)
void invalidate()
boolean isCropMode()
boolean isDelayViewRemoval()
void layoutSelectionHandle(PointF[] pts)
void prepareRemoval()
void removeView()
void setActiveHandle(int which)
void setAnnotBitmap(Bitmap bitmap)
void setAnnotRect(RectF rect)
void setAnnotRotation(int rotation)
void setAnnotStyle(PDFViewCtrl pdfViewCtrl, AnnotStyle annotStyle)
void setAnnotUIRotation(int rotation)
void setCanDraw(boolean canDraw)
void setCropMode(boolean cropMode)
void setCtrlPts(PointF[] pts)
void setCurvePainter(long id, CurvePainter curvePainter)
void setDelayViewRemoval(boolean delayViewRemoval)
void setHasPermission(boolean hasPermission)
void setInlineEditText(InlineEditText inlineEditText)
void setPage(int pageNum)
void setPageNum(int pageNum)
void setPositionGuidelines(List<Pair<Point, Point>> guidelines)
void setSelectionHandleVisible(boolean visible)
void setVertices(PointF... points)
void setZoom(double zoom)
void snapToDegree(Integer degree, float startDegree)
void snapToPerfectShape(AnnotView.SnapMode mode)
void updateAlignment(int horizontalAlignment, int verticalAlignment)
void updateBorderStyle(ShapeBorderStyle borderStyle)
void updateColor(int color)
void updateFillColor(int color)
void updateFont(FontResource font)
void updateIcon(String icon)
void updateLineEndStyle(LineEndingStyle lineEndStyle)
void updateLineStartStyle(LineEndingStyle lineStartStyle)
void updateLineStyle(LineStyle lineStyle)
void updateOpacity(float opacity)
void updateRulerItem(RulerItem rulerItem)
void updateTextColor(int textColor)
void updateTextSize(float textSize)
void updateThickness(float thickness)
void updateVertices(int index, PointF point)
[Expand]
Inherited Methods
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public AnnotView (Context context)

public AnnotView (Context context, AttributeSet attrs)

public AnnotView (Context context, AttributeSet attrs, int defStyleAttr)

Public Methods

public void animateActiveHandle ()

public void clearPositionGuidelines ()

public int getAnnotRotation ()

public int getAnnotUIRotation ()

public boolean getCanDraw ()

public PTCropImageView getCropImageView ()

public long getCurvePainterId ()

public AnnotDrawingView getDrawingView ()

public AutoScrollEditText getTextView ()

public RotateInfo handleRotation (PointF downPt, PointF movePt, boolean done)

public void invalidate ()

public boolean isCropMode ()

public boolean isDelayViewRemoval ()

public void layoutSelectionHandle (PointF[] pts)

public void prepareRemoval ()

public void removeView ()

public void setActiveHandle (int which)

public void setAnnotBitmap (Bitmap bitmap)

public void setAnnotRect (RectF rect)

public void setAnnotRotation (int rotation)

public void setAnnotStyle (PDFViewCtrl pdfViewCtrl, AnnotStyle annotStyle)

public void setAnnotUIRotation (int rotation)

public void setCanDraw (boolean canDraw)

public void setCropMode (boolean cropMode)

public void setCtrlPts (PointF[] pts)

public void setCurvePainter (long id, CurvePainter curvePainter)

public void setDelayViewRemoval (boolean delayViewRemoval)

public void setHasPermission (boolean hasPermission)

public void setInlineEditText (InlineEditText inlineEditText)

public void setPage (int pageNum)

public void setPageNum (int pageNum)

public void setPositionGuidelines (List<Pair<Point, Point>> guidelines)

public void setSelectionHandleVisible (boolean visible)

public void setVertices (PointF... points)

public void setZoom (double zoom)

public void snapToDegree (Integer degree, float startDegree)

public void snapToPerfectShape (AnnotView.SnapMode mode)

public void updateAlignment (int horizontalAlignment, int verticalAlignment)

public void updateBorderStyle (ShapeBorderStyle borderStyle)

public void updateColor (int color)

public void updateFillColor (int color)

public void updateFont (FontResource font)

public void updateIcon (String icon)

public void updateLineEndStyle (LineEndingStyle lineEndStyle)

public void updateLineStartStyle (LineEndingStyle lineStartStyle)

public void updateLineStyle (LineStyle lineStyle)

public void updateOpacity (float opacity)

public void updateRulerItem (RulerItem rulerItem)

public void updateTextColor (int textColor)

public void updateTextSize (float textSize)

public void updateThickness (float thickness)

public void updateVertices (int index, PointF point)