public class FDFAnnotationSquare extends FDFAnnotation
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SUBTYPE
COS Model value for SubType entry.
|
annot
Constructor and Description |
---|
FDFAnnotationSquare()
Default constructor.
|
FDFAnnotationSquare(COSDictionary a)
Constructor.
|
FDFAnnotationSquare(org.w3c.dom.Element element)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PDRectangle |
getFringe()
This will get the fringe.
|
java.awt.Color |
getInteriorColor()
This will retrieve the interior color of the drawn area.
|
private void |
initFringe(org.w3c.dom.Element element) |
void |
setFringe(PDRectangle fringe)
This will set the fringe rectangle.
|
void |
setInteriorColor(java.awt.Color color)
This will set interior color of the drawn area.
|
create, getBorderEffect, getBorderStyle, getColor, getContents, getCOSObject, getCreationDate, getDate, getIntent, getName, getOpacity, getPage, getRectangle, getRichContents, getStringOrStream, getSubject, getTitle, isHidden, isInvisible, isLocked, isLockedContents, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setBorderEffect, setBorderStyle, setColor, setContents, setCreationDate, setDate, setHidden, setIntent, setInvisible, setLocked, setLockedContents, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPage, setPrinted, setReadOnly, setRectangle, setRichContents, setSubject, setTitle, setToggleNoView
public static final java.lang.String SUBTYPE
public FDFAnnotationSquare()
public FDFAnnotationSquare(COSDictionary a)
a
- An existing FDF Annotation.public FDFAnnotationSquare(org.w3c.dom.Element element) throws java.io.IOException
element
- An XFDF element.java.io.IOException
- If there is an error extracting information from the element.private void initFringe(org.w3c.dom.Element element) throws java.io.IOException
java.io.IOException
public final void setInteriorColor(java.awt.Color color)
color
- The interior color of the circle.public java.awt.Color getInteriorColor()
public final void setFringe(PDRectangle fringe)
fringe
- the fringepublic PDRectangle getFringe()