public class CPDFMarkupAnnotation extends CPDFAnnotation
CPDFAnnotation.AppearanceType, CPDFAnnotation.Flags, CPDFAnnotation.Type
annotPtr, apRotation, pdfPage
Modifier | Constructor and Description |
---|---|
protected |
CPDFMarkupAnnotation(long annotPtr,
CPDFAnnotation.Type type) |
Modifier and Type | Method and Description |
---|---|
int |
getAlpha()
Gets opacity.
|
int |
getColor()
Gets color.
|
java.lang.String |
getMarkedText()
Gets marked text.
|
PointF[] |
getQuadPoints()
Gets the array of quadrilateral points defining the bounds of the markup.
|
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 |
setQuadPoints(PointF[] quadPoints)
Sets the array of quadrilateral points defining the bounds of the markup.
|
boolean |
setQuadRects(RectF[] quadRects)
Sets the array of quadrilateral points defining the bounds of the markup.
|
boolean |
updateAp()
Updates annotation appearance.
|
addToPage, clearFilledRGBColor, clearFilledTransparency, close, getAppearanceByPixel, getApRotation, getBgRGBColor, getBorderRGBColor, getBorderStyle, getBorderWidth, getContent, getCreationDate, getFilledRGBColor, getFilledTransparency, getFlags, getName, getOverLayText, getRecentlyModifyDate, getRect, getRGBColor, getTitle, getTransparency, getType, hasAp, isAllowCorrectAnnotationAp, isHidden, isLocked, isReadOnly, isValid, removeAp, removeFromPage, setAllowCorrectAnnotationAp, setBgRGBColor, setBorderRGBColor, setBorderStyle, setBorderWidth, setContent, setCreationDate, setFilledRGBColor, setFilledTransparency, setFlags, setHidden, setLocked, setName, setOverLayText, setReadOnly, setRecentlyModifyDate, setRect, setRGBColor, setTitle, setTransparency, updateApWithBitmap, updateApWithImage
protected CPDFMarkupAnnotation(long annotPtr, CPDFAnnotation.Type type)
public boolean setQuadRects(RectF[] quadRects)
quadRects
- Array of quadrilateral points defining the bounds of the markup.public RectF[] getQuadRects()
public boolean setQuadPoints(PointF[] quadPoints)
quadPoints
- Array of quadrilateral points defining the bounds of the markup.public PointF[] getQuadPoints()
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 boolean updateAp()
updateAp
in class CPDFAnnotation