COSObjectablepublic class PDAnnotationSquareCircle extends PDAnnotationMarkup
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
SUB_TYPE_CIRCLE |
Constant for an elliptical type of annotation.
|
static java.lang.String |
SUB_TYPE_SQUARE |
Constant for a Rectangular type of annotation.
|
RT_GROUP, RT_REPLY, SUB_TYPE_CARET, SUB_TYPE_FREETEXT, SUB_TYPE_INK, SUB_TYPE_POLYGON, SUB_TYPE_POLYLINE, SUB_TYPE_SOUND| Constructor | Description |
|---|---|
PDAnnotationSquareCircle(java.lang.String subType) |
Creates a Circle or Square annotation of the specified sub type.
|
PDAnnotationSquareCircle(COSDictionary field) |
Creates a Line annotation from a COSDictionary, expected to be a correct object definition.
|
| Modifier and Type | Method | Description |
|---|---|---|
PDBorderEffectDictionary |
getBorderEffect() |
This will retrieve the border effect dictionary, specifying effects to be applied used in drawing the line.
|
PDBorderStyleDictionary |
getBorderStyle() |
This will retrieve the border style dictionary, specifying the width and dash pattern used in drawing the line.
|
PDColor |
getInteriorColor() |
This will retrieve the interior color of the drawn area color is in DeviceRGB color space.
|
PDRectangle |
getRectDifference() |
This will get the rectangle difference rectangle.
|
java.lang.String |
getSubtype() |
This will retrieve the sub type (and hence appearance, AP taking precedence) For this annotation.
|
void |
setBorderEffect(PDBorderEffectDictionary be) |
This will set the border effect dictionary, specifying effects to be applied when drawing the line.
|
void |
setBorderStyle(PDBorderStyleDictionary bs) |
This will set the border style dictionary, specifying the width and dash pattern used in drawing the line.
|
void |
setInteriorColor(PDColor ic) |
This will set interior color of the drawn area color is in DeviceRGB colo rspace.
|
void |
setRectDifference(PDRectangle rd) |
This will set the rectangle difference rectangle.
|
void |
setSubtype(java.lang.String subType) |
This will set the sub type (and hence appearance, AP taking precedence) For this annotation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAnnotation, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceState, getBorder, getColor, getColor, getContents, getCOSObject, getModifiedDate, getNormalAppearanceStream, getOptionalContent, getPage, getRectangle, getStructParent, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceState, setBorder, setColor, setContents, setHidden, setInvisible, setLocked, setModifiedDate, setModifiedDate, setNoRotate, setNoView, setNoZoom, setOptionalContent, setPage, setPrinted, setReadOnly, setRectangle, setStructParent, setToggleNoViewgetConstantOpacity, getCreationDate, getExternalData, getInReplyTo, getIntent, getPopup, getReplyType, getRichContents, getSubject, getTitlePopup, setConstantOpacity, setCreationDate, setExternalData, setInReplyTo, setIntent, setPopup, setReplyType, setRichContents, setSubject, setTitlePopuppublic static final java.lang.String SUB_TYPE_SQUARE
public static final java.lang.String SUB_TYPE_CIRCLE
public PDAnnotationSquareCircle(java.lang.String subType)
subType - the subtype the annotation represents.public PDAnnotationSquareCircle(COSDictionary field)
field - the PDF object to represent as a field.public void setInteriorColor(PDColor ic)
ic - color in the DeviceRGB color space.public PDColor getInteriorColor()
public void setBorderEffect(PDBorderEffectDictionary be)
be - The border effect dictionary to set.public PDBorderEffectDictionary getBorderEffect()
public void setRectDifference(PDRectangle rd)
rd - the rectangle differencepublic PDRectangle getRectDifference()
public void setSubtype(java.lang.String subType)
subType - The subtype of the annotationpublic java.lang.String getSubtype()
getSubtype in class PDAnnotationpublic void setBorderStyle(PDBorderStyleDictionary bs)
setBorderStyle in class PDAnnotationMarkupbs - the border style dictionary to set. TODO not all annotations may have a BS entrypublic PDBorderStyleDictionary getBorderStyle()
getBorderStyle in class PDAnnotationMarkupCopyright © 2002–2018. All rights reserved.