public class

AnnotDrawingView

extends AppCompatImageView
java.lang.Object
   ↳ AppCompatImageView
     ↳ com.pdftron.pdf.widget.AnnotDrawingView

Summary

Public Constructors
AnnotDrawingView(Context context)
AnnotDrawingView(Context context, AttributeSet attrs)
AnnotDrawingView(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
PointF center()
boolean getCanDraw()
RotateInfo handleRotation(PointF downPt, PointF movePt, boolean done)
boolean hasIcon()
void initInkItem(Annot inkAnnot, int pageNum, PointF offset)
A read lock is expected around this method
void setAnnotBitmap(Bitmap bitmap)
void setAnnotRect(RectF rect)
void setAnnotStyle(AnnotViewImpl annotViewImpl)
void setCanDraw(boolean canDraw)
void setCurvePainter(CurvePainter curvePainter)
void setOffset(int x, int y)
void setPageNum(int pageNum)
void setZoom(double zoom)
void snapToDegree(Integer degree, float startDegree)
void updateBorderEffect(RectCreate.BorderEffect borderEffect)
void updateColor(int color)
void updateFillColor(int color)
void updateIcon(String icon)
void updateOpacity(float opacity)
void updateRulerItem(RulerItem rulerItem)
void updateThickness(float thickness)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AnnotDrawingView (Context context)

public AnnotDrawingView (Context context, AttributeSet attrs)

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

Public Methods

public PointF center ()

public boolean getCanDraw ()

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

public boolean hasIcon ()

public void initInkItem (Annot inkAnnot, int pageNum, PointF offset)

A read lock is expected around this method

public void setAnnotBitmap (Bitmap bitmap)

public void setAnnotRect (RectF rect)

public void setAnnotStyle (AnnotViewImpl annotViewImpl)

public void setCanDraw (boolean canDraw)

public void setCurvePainter (CurvePainter curvePainter)

public void setOffset (int x, int y)

public void setPageNum (int pageNum)

public void setZoom (double zoom)

public void snapToDegree (Integer degree, float startDegree)

public void updateBorderEffect (RectCreate.BorderEffect borderEffect)

public void updateColor (int color)

public void updateFillColor (int color)

public void updateIcon (String icon)

public void updateOpacity (float opacity)

public void updateRulerItem (RulerItem rulerItem)

public void updateThickness (float thickness)