public class FDFAnnotationPolyline extends FDFAnnotation
| Modifier and Type | Field and Description | 
|---|---|
| static String | SUBTYPECOS Model value for SubType entry. | 
annot| Constructor and Description | 
|---|
| FDFAnnotationPolyline()Default constructor. | 
| FDFAnnotationPolyline(COSDictionary a)Constructor. | 
| FDFAnnotationPolyline(Element element)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getEndPointEndingStyle()This will retrieve the line ending style for the end point, possible values shown in the LE_ constants section. | 
| Color | getInteriorColor()This will retrieve the interior color of the line endings defined in the LE entry. | 
| String | getStartPointEndingStyle()This will retrieve the line ending style for the start point, possible values shown in the LE_ constants section. | 
| float[] | getVertices()This will get the coordinates of the the vertices. | 
| void | setEndPointEndingStyle(String style)This will set the line ending style for the end point, see the LE_ constants for the possible values. | 
| void | setInteriorColor(Color color)This will set interior color of the line endings defined in the LE entry. | 
| void | setStartPointEndingStyle(String style)This will set the line ending style for the start point, see the LE_ constants for the possible values. | 
| void | setVertices(float[] vertices)This will set the coordinates of the the vertices. | 
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, setToggleNoViewpublic static final String SUBTYPE
public FDFAnnotationPolyline()
public FDFAnnotationPolyline(COSDictionary a)
a - An existing FDF Annotation.public FDFAnnotationPolyline(Element element) throws IOException
element - An XFDF element.IOException - If there is an error extracting information from the element.public void setVertices(float[] vertices)
vertices - array of floats [x1, y1, x2, y2, ...] vertex coordinates in default user space.public float[] getVertices()
public void setStartPointEndingStyle(String style)
style - The new style.public String getStartPointEndingStyle()
public void setEndPointEndingStyle(String style)
style - The new style.public String getEndPointEndingStyle()
public void setInteriorColor(Color color)
color - The interior color of the line endings.public Color getInteriorColor()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.