public abstract class CPDFMarkupAnnotation extends CPDFAnnotation
Modifier and Type | Class and Description |
---|---|
static class |
CPDFMarkupAnnotation.CPDFMarkupAnnotationAttr |
CPDFAnnotation.AppearanceType, CPDFAnnotation.BorderEffectIntensity, CPDFAnnotation.CPDFBorderEffectType, CPDFAnnotation.Flags, CPDFAnnotation.MarkState, CPDFAnnotation.MediaSourceType, CPDFAnnotation.ReviewState, CPDFAnnotation.Type
index
Modifier and Type | Method and Description |
---|---|
void |
applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr) |
int |
getAlpha()
Gets opacity.
|
CPDFAnnotationUndoAttr |
getAnnotationAttr() |
int |
getColor()
Gets color.
|
java.lang.String |
getMarkedText()
Gets marked text.
|
android.graphics.RectF[] |
getQuadRects()
Gets the array of quadrilateral points defining the bounds of the markup.
|
boolean |
setAlpha(int alpha)
Sets opacity.
|
boolean |
setColor(int color)
Sets color.
|
boolean |
setMarkedText(java.lang.String text)
Sets marked text.
|
boolean |
setQuadRects(android.graphics.RectF[] quadRects)
Sets the array of quadrilateral points defining the bounds of the markup.
|
addToPage, close, createReplyAnnotation, disableListenAttrChanged, enableListenAttrChanged, equal, equal, getAllReplyAnnotations, getAnnotIndexFromNative, getAnnotPtr, getAppearance, getAppearanceByPixel, getApRotation, getBordEffectIntensity, getBordEffectType, getBorderWidth, getContent, getCreationDate, getFlags, getMarkedAnnotState, getName, getRecentlyModifyDate, getRect, getReviewAnnotState, getRotateRectPoint, getRotation, getSourceRect, getTitle, getType, getVertices, hasAp, isAllowCorrectAnnotationAp, isHidden, isLocked, isReadOnly, isValid, moveAnnotIndex, removeAp, removeFromPage, removeFromPageIncludeReplyAnnot, setAllowCorrectAnnotationAp, setAnnotTop, setBordEffectIntensity, setBordEffectType, setBorderWidth, setContent, setCreationDate, setFlags, setHidden, setLocked, setMarkedAnnotState, setName, setOnAnnotationChangedListener, setReadOnly, setRecentlyModifyDate, setRect, setReviewAnnotState, setRotation, setSourceRect, setTitle, setVertices, updateAp, updateApWithBitmap, updateApWithImage
public boolean setQuadRects(android.graphics.RectF[] quadRects)
CPDFPage.convertRectToPage(boolean, float, float, RectF)
.quadRects
- Array of quadrilateral points defining the bounds of the markup.public android.graphics.RectF[] getQuadRects()
CPDFPage.convertRectFromPage(boolean, float, float, RectF)
.public boolean setMarkedText(java.lang.String text)
text
- Marked text.public java.lang.String getMarkedText()
public boolean setColor(int color)
color
- Color value (0x00000000~0xFFFFFFFF)public int getColor()
public boolean setAlpha(int alpha)
alpha
- Opacity value (0~255)public int getAlpha()
public void applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr)
applyAnnotationAttr
in class CPDFAnnotation
public CPDFAnnotationUndoAttr getAnnotationAttr()
getAnnotationAttr
in class CPDFAnnotation