public class CPDFCircleAnnotation extends CPDFAnnotation
Modifier and Type | Class and Description |
---|---|
static class |
CPDFCircleAnnotation.CPDFCircleAnnotationAttr |
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) |
CPDFAnnotationUndoAttr |
getAnnotationAttr() |
int |
getBorderAlpha()
Gets the border opacity.
|
int |
getBorderColor()
Gets the border color.
|
CPDFBorderStyle |
getBorderStyle()
Gets the border style, more:
CPDFBorderStyle |
int |
getFillAlpha()
Gets the background opacity.
|
int |
getFillColor()
Gets the filled color.
|
android.graphics.RectF |
getRect()
Gets annotation rectangle.
|
boolean |
setBordEffectIntensity(CPDFAnnotation.BorderEffectIntensity intensity) |
boolean |
setBordEffectType(CPDFAnnotation.CPDFBorderEffectType type) |
boolean |
setBorderAlpha(int lineAlpha)
Sets the border opacity.
|
boolean |
setBorderColor(int color)
Sets the border color.
|
boolean |
setBorderStyle(CPDFBorderStyle borderStyle)
Sets the border style, more:
CPDFBorderStyle |
boolean |
setFillAlpha(int bgAlpha)
Sets the background opacity.
|
boolean |
setFillColor(int color)
Sets the filled color.
|
boolean |
setRect(android.graphics.RectF rect)
Sets annotation rectangle.
|
addToPage, close, createReplyAnnotation, disableListenAttrChanged, enableListenAttrChanged, equal, equal, getAllReplyAnnotations, getAnnotIndexFromNative, getAnnotPtr, getAppearance, getAppearanceByPixel, getApRotation, getBordEffectIntensity, getBordEffectType, getBorderWidth, getContent, getCreationDate, getFlags, getMarkedAnnotState, getName, getRecentlyModifyDate, getReviewAnnotState, getRotateRectPoint, getRotation, getSourceRect, getTitle, getType, getVertices, hasAp, isAllowCorrectAnnotationAp, isHidden, isLocked, isReadOnly, isValid, moveAnnotIndex, removeAp, removeFromPage, removeFromPageIncludeReplyAnnot, setAllowCorrectAnnotationAp, setAnnotTop, setBorderWidth, setContent, setCreationDate, setFlags, setHidden, setLocked, setMarkedAnnotState, setName, setOnAnnotationChangedListener, setReadOnly, setRecentlyModifyDate, setReviewAnnotState, setRotation, setSourceRect, setTitle, setVertices, updateAp, updateApWithBitmap, updateApWithImage
public boolean setBorderColor(int color)
color
- Color value (0x00000000~0xFFFFFFFF)public int getBorderColor()
public boolean setBorderAlpha(int lineAlpha)
lineAlpha
- Opacity value (0~255)public int getBorderAlpha()
public boolean setFillColor(int color)
color
- Color value (0x00000000~0xFFFFFFFF)public int getFillColor()
public boolean setFillAlpha(int bgAlpha)
bgAlpha
- Opacity value (0~255)public int getFillAlpha()
public CPDFBorderStyle getBorderStyle()
CPDFBorderStyle
CPDFBorderStyle
public boolean setBorderStyle(CPDFBorderStyle borderStyle)
CPDFBorderStyle
borderStyle
- Border styles, more: CPDFBorderStyle
public boolean setBordEffectType(CPDFAnnotation.CPDFBorderEffectType type)
setBordEffectType
in class CPDFAnnotation
public boolean setBordEffectIntensity(CPDFAnnotation.BorderEffectIntensity intensity)
setBordEffectIntensity
in class CPDFAnnotation
public CPDFAnnotationUndoAttr getAnnotationAttr()
getAnnotationAttr
in class CPDFAnnotation
public void applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr)
applyAnnotationAttr
in class CPDFAnnotation
public boolean setRect(android.graphics.RectF rect)
CPDFPage.convertRectToPage(boolean, float, float, RectF)
.setRect
in class CPDFAnnotation
rect
- Rectangle on the pagepublic android.graphics.RectF getRect()
CPDFPage.convertRectToPage(boolean, float, float, RectF)
.getRect
in class CPDFAnnotation