public abstract class PDAnnotationSquareCircle extends PDAnnotationMarkup
RT_GROUP, RT_REPLY| Modifier | Constructor and Description |
|---|---|
protected |
PDAnnotationSquareCircle(COSDictionary dict)
Constructor.
|
protected |
PDAnnotationSquareCircle(String subType)
Creates a Circle or Square annotation of the specified sub type.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
constructAppearances()
Create the appearance entry for this annotation.
|
PDBorderEffectDictionary |
getBorderEffect()
This will retrieve the border effect dictionary, specifying effects to be applied 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.
|
float[] |
getRectDifferences()
This will get the differences between the annotations "outer" rectangle defined by
/Rect and the border.
|
void |
setBorderEffect(PDBorderEffectDictionary be)
This will set the border effect dictionary, specifying effects to be applied when drawing the
line.
|
void |
setInteriorColor(PDColor ic)
This will set interior color of the drawn area color is in DeviceRGB colorspace.
|
void |
setRectDifference(PDRectangle rd)
This will set the rectangle difference rectangle.
|
void |
setRectDifferences(float difference)
This will set the difference between the annotations "outer" rectangle defined by /Rect and
the border.
|
void |
setRectDifferences(float differenceLeft,
float differenceTop,
float differenceRight,
float differenceBottom)
This will set the difference between the annotations "outer" rectangle defined by
/Rect and the border.
|
getBorderStyle, getConstantOpacity, getCreationDate, getExternalData, getInReplyTo, getIntent, getPopup, getReplyType, getRichContents, getSubject, getTitlePopup, setBorderStyle, setConstantOpacity, setCreationDate, setExternalData, setInReplyTo, setIntent, setPopup, setReplyType, setRichContents, setSubject, setTitlePopupconstructAppearances, createAnnotation, equals, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceState, getBorder, getColor, getColor, getContents, getCOSObject, getModifiedDate, getNormalAppearanceStream, getOptionalContent, getPage, getRectangle, getStructParent, getSubtype, hashCode, isHidden, isInvisible, isLocked, isLockedContents, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceState, setBorder, setColor, setContents, setHidden, setInvisible, setLocked, setLockedContents, setModifiedDate, setModifiedDate, setNoRotate, setNoView, setNoZoom, setOptionalContent, setPage, setPrinted, setReadOnly, setRectangle, setStructParent, setSubtype, setToggleNoViewprotected PDAnnotationSquareCircle(String subType)
subType - the subtype the annotation represents.protected PDAnnotationSquareCircle(COSDictionary dict)
dict - The annotations dictionary.public abstract void constructAppearances()
PDAnnotationconstructAppearances in class PDAnnotationpublic 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 setRectDifferences(float difference)
This will set an equal difference for all sides
difference - from the annotations /Rect entrypublic void setRectDifferences(float differenceLeft,
float differenceTop,
float differenceRight,
float differenceBottom)
differenceLeft - left difference from the annotations /Rect entrydifferenceTop - top difference from the annotations /Rect entrydifferenceRight - right difference from the annotations /Rect entrydifferenceBottom - bottom difference from the annotations /Rect entrypublic float[] getRectDifferences()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.