public class FDFAnnotationSquare extends FDFAnnotation
Modifier and Type | Field and Description |
---|---|
static String |
SUBTYPE
COS Model value for SubType entry.
|
annot
Constructor and Description |
---|
FDFAnnotationSquare()
Default constructor.
|
FDFAnnotationSquare(COSDictionary a)
Constructor.
|
FDFAnnotationSquare(Element element)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PDRectangle |
getFringe()
This will get the fringe.
|
Color |
getInteriorColor()
This will retrieve the interior color of the drawn area.
|
void |
setFringe(PDRectangle fringe)
This will set the fringe rectangle.
|
void |
setInteriorColor(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, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setBorderEffect, setBorderStyle, setColor, setContents, setCreationDate, setDate, setHidden, setIntent, setInvisible, setLocked, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPage, setPrinted, setReadOnly, setRectangle, setRichContents, setSubject, setTitle, setToggleNoView
public static final String SUBTYPE
public FDFAnnotationSquare()
public FDFAnnotationSquare(COSDictionary a)
a
- An existing FDF Annotation.public FDFAnnotationSquare(Element element) throws IOException
element
- An XFDF element.IOException
- If there is an error extracting information from the element.public final void setInteriorColor(Color color)
color
- The interior color of the circle.public Color getInteriorColor()
public final void setFringe(PDRectangle fringe)
fringe
- the fringepublic PDRectangle getFringe()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.