public interface ShapeAnnotation extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
LE_BUTT |
static String |
LE_BUTT_STR |
static int |
LE_CIRCLE |
static String |
LE_CIRCLE_STR |
static int |
LE_CLOSEDARROW |
static String |
LE_CLOSEDARROW_STR |
static int |
LE_DIAMOND |
static String |
LE_DIAMOND_STR |
static int |
LE_NONE |
static String |
LE_NONE_STR |
static int |
LE_OPENARROW |
static String |
LE_OPENARROW_STR |
static int |
LE_SQUARE |
static String |
LE_SQUARE_STR |
BORDERSTYLE_BEVELED, BORDERSTYLE_CLOUD, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY
Modifier and Type | Method and Description |
---|---|
String |
getContents()
Returns the string contents for this annotation.
|
Color |
getInternalColor()
Gets the fill color for this annotation.
|
BasicStroke |
getStroke()
Gets the stroke to use when drawing the ink annotation.
|
void |
setContents(String contents)
Sets the string contents for this annotation.
|
void |
setInternalColor(Color internalColor)
Sets the fill color for this annotation.
|
void |
setStroke(BasicStroke stroke)
Sets the stroke used when drawing the ink annotation.
|
getActions, getBorderStyle, getBorderWidth, getCheckmarkStatus, getColor, getComponent, getCreator, getFlags, getModifiedDate, getName, getOpacity, getRectangle, getReviewHistory, getSubject, getSubtype, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreator, setFlags, setHidden, setInvisible, setLayer, setLocked, setModifiedDate, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPrintable, setReadOnly, setRectangle, setSubject, setSubtype, setTriggerActions, shiftRectangle
static final int LE_NONE
static final int LE_SQUARE
static final int LE_CIRCLE
static final int LE_DIAMOND
static final int LE_OPENARROW
static final int LE_CLOSEDARROW
static final int LE_BUTT
static final String LE_NONE_STR
static final String LE_SQUARE_STR
static final String LE_CIRCLE_STR
static final String LE_DIAMOND_STR
static final String LE_OPENARROW_STR
static final String LE_CLOSEDARROW_STR
static final String LE_BUTT_STR
String getContents()
getContents
in interface Annotation
void setContents(String contents)
BasicStroke getStroke()
void setStroke(BasicStroke stroke)
stroke
- The stroke to use when drawing the annotation.Color getInternalColor()
void setInternalColor(Color internalColor)
internalColor
- The color to use to fill the rectangle. If null, the interior will be transparent.