public interface Callout extends FreeText
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_TOP, FREE_TEXT_TYPEWRITER
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 |
---|---|
double[] |
getArrow()
Returns an array representing the coordinates of the arrow
|
Rectangle2D |
getInnerRect()
Returns the innerRect
|
void |
setArrow(double[] arrow)
Sets the coordinates of the callout arrow
|
void |
setInnerRect(Rectangle2D innerRect)
Sets the innerRect relative to the annotation rectangle.
|
getAlignHorizontal, getAlignVertical, getBorderColor, getBorderRect, getContents, getFont, getIntent, getRotation, getStroke, getTextColor, isIntentTypeWriter, setAlignHorizontal, setAlignVertical, setBorderColor, setBorderRect, setContents, setFont, setIntent, setRotation, setStroke, setTextColor
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
void setInnerRect(Rectangle2D innerRect)
innerRect
- Where innerRect.x is the distance between the inner rectangle and left of the annotation rectangle,
innerRect.y is the distance between the inner rectangle and the top of the annotation rectangle,
innerRect.width is the width of the inner rectangle, and innerRect.height is the height of innerRectangleRectangle2D getInnerRect()
void setArrow(double[] arrow)
arrow
- An array of either 4 or 6 components.
If 6 components, the components represent: {startingPointX, startingPointY, kneePointX, kneePointY, endPointX, endPointY}
If 4 components, the components represent: {startingPointX, startingPointY, endPointX, endPointY}double[] getArrow()