com.qoppa.pdf.annotations
Interface Polyline

All Superinterfaces:
Annotation, ShapeAnnotation

public interface Polyline
extends ShapeAnnotation

Class representing a Polyline annotation in a PDF document. Polyline annotations are displayed as a series of connected vertices and can be double-clicked to display its note.

Author:
Qoppa Software

Field Summary
static String POLYLINE_DIMENSION
           
 
Fields inherited from interface com.qoppa.pdf.annotations.ShapeAnnotation
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_SQUARE, LE_SQUARE_STR
 
Fields inherited from interface com.qoppa.pdf.annotations.Annotation
BORDERSTYLE_BEVELED, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY
 
Method Summary
 String getIntent()
          Returns the description of the intent of the Line Annotation
 Vertices getVertices()
          Returns an object that manages the vertices in the polygon.
 boolean isIntentDimension()
          Returns a flag indicating whether this polygon's intent is a dimension (measuring tool)
 void revalidateRectangle()
           
 
Methods inherited from interface com.qoppa.pdf.annotations.ShapeAnnotation
getContents, getInternalColor, getStroke, setContents, setInternalColor, setStroke
 
Methods inherited from interface com.qoppa.pdf.annotations.Annotation
getActions, getBorderStyle, getBorderWidth, getColor, getComponent, getCreationDate, getCreator, getFlags, getModifiedDate, getName, getOpacity, getRectangle, getSubject, getSubtype, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreationDate, setCreator, setFlags, setHidden, setInvisible, setLayer, setLocked, setModifiedDate, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPrintable, setReadOnly, setRectangle, setSubject, setSubtype, setTriggerActions, shiftRectangle
 

Field Detail

POLYLINE_DIMENSION

static final String POLYLINE_DIMENSION
See Also:
Constant Field Values
Method Detail

revalidateRectangle

void revalidateRectangle()

getIntent

String getIntent()
Returns the description of the intent of the Line Annotation

Returns:
intent

isIntentDimension

boolean isIntentDimension()
Returns a flag indicating whether this polygon's intent is a dimension (measuring tool)

Returns:
Flag indicating whether the intent of this polygon is for dimension (measurement tool)

getVertices

Vertices getVertices()
Returns an object that manages the vertices in the polygon. The object has methods to get the vertices, and to add and remove vertices.

Returns:
The vertices in the polygon.