public class CPDFCircleAnnotation extends CPDFAnnotation
CPDFAnnotation.AppearanceType, CPDFAnnotation.Flags, CPDFAnnotation.Type
annotPtr, apRotation, pdfPage
Modifier and Type | Method and Description |
---|---|
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.
|
RectF |
getRect()
Gets annotation rectangle.
|
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(RectF rect)
Sets annotation rectangle.
|
boolean |
updateAp()
Updates annotation appearance.
|
addToPage, clearFilledRGBColor, clearFilledTransparency, close, getAppearanceByPixel, getApRotation, getBgRGBColor, getBorderRGBColor, getBorderWidth, getContent, getCreationDate, getFilledRGBColor, getFilledTransparency, getFlags, getName, getOverLayText, getRecentlyModifyDate, getRGBColor, getTitle, getTransparency, getType, hasAp, isAllowCorrectAnnotationAp, isHidden, isLocked, isReadOnly, isValid, removeAp, removeFromPage, setAllowCorrectAnnotationAp, setBgRGBColor, setBorderRGBColor, setBorderWidth, setContent, setCreationDate, setFilledRGBColor, setFilledTransparency, setFlags, setHidden, setLocked, setName, setOverLayText, setReadOnly, setRecentlyModifyDate, setRGBColor, setTitle, setTransparency, 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
getBorderStyle
in class CPDFAnnotation
CPDFBorderStyle
public boolean setBorderStyle(CPDFBorderStyle borderStyle)
CPDFBorderStyle
setBorderStyle
in class CPDFAnnotation
borderStyle
- Border styles, more: CPDFBorderStyle
public boolean setRect(RectF rect)
setRect
in class CPDFAnnotation
rect
- Rectangle on the pagepublic RectF getRect()
getRect
in class CPDFAnnotation
public boolean updateAp()
updateAp
in class CPDFAnnotation