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
boolean getCanDraw()
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 setRotateImpl(RotationImpl rotateImpl)
void setZoom(double zoom)
void updateBorderStyle(ShapeBorderStyle borderStyle)
void updateColor(int color)
void updateFillColor(int color)
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 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 boolean getCanDraw ()

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 setRotateImpl (RotationImpl rotateImpl)

public void setZoom (double zoom)

public void updateBorderStyle (ShapeBorderStyle borderStyle)

public void updateColor (int color)

public void updateFillColor (int color)

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 updateThickness (float thickness)