public interface Line extends ShapeAnnotation
Modifier and Type | Field and Description |
---|---|
static String |
LINE_ARROW |
static String |
LINE_DIMENSION |
LE_BUTT, LE_BUTT_STR, LE_CIRCLE, LE_CIRCLE_STR, LE_CLOSEDARROW, LE_CLOSEDARROW_STR, LE_DIAMOND, LE_DIAMOND_STR, LE_NONE, LE_NONE_STR, LE_OPENARROW, LE_OPENARROW_STR, LE_REVERSE_CLOSED_ARROW, LE_REVERSE_CLOSED_ARROW_STR, LE_REVERSE_OPEN_ARROW, LE_REVERSE_OPEN_ARROW_STR, LE_SLASH, LE_SLASH_STR, LE_SQUARE, LE_SQUARE_STR
BORDERSTYLE_BEVELED, BORDERSTYLE_CLOUD, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_LOCKEDCONTENTS, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY
Modifier and Type | Method and Description |
---|---|
Date |
getCreationDate()
Returns the date and time when the annotation was created.
|
String |
getIntent()
Returns the description of the intent of the Line Annotation
|
int |
getLineEndStyle() |
int |
getLineStartStyle() |
double |
getX1()
Returns the x coordinate of the origin of this line.
|
double |
getX2()
Returns the x coordinate of the endpoint of this line.
|
double |
getY1()
Returns the y coordinate of the origin of this line.
|
double |
getY2()
Returns the y coordinate of the endpoint of this line.
|
boolean |
isIntentArrow() |
boolean |
isIntentDimension() |
void |
revalidateRectangle() |
void |
setLineEndStyle(String style) |
void |
setLineStartStyle(String style) |
void |
setX1(double x1) |
void |
setX2(double x2) |
void |
setY1(double y1) |
void |
setY2(double y2) |
getContents, getInternalColor, getStroke, setContents, setInternalColor, setStroke
getActions, getAnnotationComponent, getBorderStyle, getBorderWidth, getCheckmarkStatus, getColor, getComponent, getCreator, getFlags, getIRTAnnotation, getModifiedDate, getName, getOpacity, getPageIndex, getRectangle, getReviewHistory, getSubject, getSubtype, getTriggerActions, isHidden, isInvisible, isIRTGroup, isLocked, isLockedContents, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreator, setFlags, setHidden, setInvisible, setLayer, setLocked, setLockedContents, setModifiedDate, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPrintable, setReadOnly, setRectangle, setSubject, setTriggerActions, shiftRectangle
static final String LINE_ARROW
static final String LINE_DIMENSION
double getX1()
double getX2()
double getY1()
double getY2()
void setX1(double x1)
void setX2(double x2)
void setY1(double y1)
void setY2(double y2)
int getLineEndStyle()
int getLineStartStyle()
void setLineEndStyle(String style)
void setLineStartStyle(String style)
void revalidateRectangle()
String getIntent()
boolean isIntentArrow()
boolean isIntentDimension()
Date getCreationDate()