| Modifier and Type | Field and Description |
|---|---|
| public static final String | SUBTYPE
COS Model value for SubType entry. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: boolean if the content is shown as a caption.This will retrieve if the contents are shown as a caption or not. |
| public float | Returns: the horizontal offset of the captionThis will retrieve the horizontal offset of the caption. |
| public String | |
| public float | Returns: the vertical offset of the captionThis will retrieve the vertical offset of the caption. |
| public String | Returns: The ending style for the end point.This will retrieve the line ending style for the end point, possible values shown in the LE_ constants section. |
| public Color | Returns: object representing the color.This will retrieve the interior color of the line endings defined in the LE entry. |
| public float | Returns: the length of the leader line extensionsThis will retrieve the length of the leader line extensions. |
| public float | Returns: the length of the leader lineThis will retrieve the length of the leader line. |
| public float | Returns: the length of the leader line offsetThis will retrieve the length of the leader line offset. |
| public float[] | Returns: array of floats [x1, y1, x2, y2] line start and end points in default user space.This will retrieve the start and end coordinates of the line (or leader line if LL entry is set). |
| public String | Returns: The ending style for the start point.This will retrieve the line ending style for the start point, possible values shown in the LE_ constants section. |
| public final void | setCaption(boolean
Boolean value. cap)This will set if the contents are shown as a caption to the line. |
| public final void | setCaptionHorizontalOffset(float
the horizontal offset of the caption offset)This will set the horizontal offset of the caption. |
| public final void | |
| public final void | setCaptionVerticalOffset(float
vertical offset of the caption offset)This will set the vertical offset of the caption. |
| public final void | setEndPointEndingStyle(String
The new style. style)This will set the line ending style for the end point, see the LE_ constants for the possible values. |
| public final void | setInteriorColor(Color
The interior color of the line endings. color)This will set interior color of the line endings defined in the LE entry. |
| public final void | setLeaderExtend(float
length of the leader line extensions leaderExtend)This will set the length of the leader line extensions. |
| public final void | setLeaderLength(float
length of the leader line leaderLength)This will set the length of the leader line. |
| public final void | setLeaderOffset(float
length of the leader line offset leaderOffset)This will set the length of the leader line offset. |
| public final void | setLine(float[]
array of 4 floats [x1, y1, x2, y2] line start and end points in default user space. line)This will set start and end coordinates of the line (or leader line if LL entry is set). |
| public final void | setStartPointEndingStyle(String
The new style. style)This will set the line ending style for the start point, see the LE_ constants for the possible values. |
| SUBTYPE | back to summary |
|---|---|
| public static final String SUBTYPE COS Model value for SubType entry. | |
| FDFAnnotationLine | back to summary |
|---|---|
| public FDFAnnotationLine() Default constructor. | |
| FDFAnnotationLine | back to summary |
|---|---|
| public FDFAnnotationLine(COSDictionary a) Constructor.
| |
| FDFAnnotationLine | back to summary |
|---|---|
| public FDFAnnotationLine(Element element) throws IOException Constructor.
| |
| getCaption | back to summary |
|---|---|
| public boolean getCaption() This will retrieve if the contents are shown as a caption or not.
| |
| getCaptionHorizontalOffset | back to summary |
|---|---|
| public float getCaptionHorizontalOffset() This will retrieve the horizontal offset of the caption.
| |
| getCaptionStyle | back to summary |
|---|---|
| public String getCaptionStyle() This will retrieve the caption positioning.
| |
| getCaptionVerticalOffset | back to summary |
|---|---|
| public float getCaptionVerticalOffset() This will retrieve the vertical offset of the caption.
| |
| getEndPointEndingStyle | back to summary |
|---|---|
| public String getEndPointEndingStyle() This will retrieve the line ending style for the end point, possible values shown in the LE_ constants section.
| |
| getInteriorColor | back to summary |
|---|---|
| public Color getInteriorColor() This will retrieve the interior color of the line endings defined in the LE entry.
| |
| getLeaderExtend | back to summary |
|---|---|
| public float getLeaderExtend() This will retrieve the length of the leader line extensions.
| |
| getLeaderLength | back to summary |
|---|---|
| public float getLeaderLength() This will retrieve the length of the leader line.
| |
| getLeaderOffset | back to summary |
|---|---|
| public float getLeaderOffset() This will retrieve the length of the leader line offset.
| |
| getLine | back to summary |
|---|---|
| public float[] getLine() This will retrieve the start and end coordinates of the line (or leader line if LL entry is set).
| |
| getStartPointEndingStyle | back to summary |
|---|---|
| public String getStartPointEndingStyle() This will retrieve the line ending style for the start point, possible values shown in the LE_ constants section.
| |
| setCaption | back to summary |
|---|---|
| public final void setCaption(boolean cap) This will set if the contents are shown as a caption to the line.
| |
| setCaptionHorizontalOffset | back to summary |
|---|---|
| public final void setCaptionHorizontalOffset(float offset) This will set the horizontal offset of the caption.
| |
| setCaptionStyle | back to summary |
|---|---|
| public final void setCaptionStyle(String captionStyle) This will set the caption positioning. Allowed values are: "Inline" and "Top"
| |
| setCaptionVerticalOffset | back to summary |
|---|---|
| public final void setCaptionVerticalOffset(float offset) This will set the vertical offset of the caption.
| |
| setEndPointEndingStyle | back to summary |
|---|---|
| public final void setEndPointEndingStyle(String style) This will set the line ending style for the end point, see the LE_ constants for the possible values.
| |
| setInteriorColor | back to summary |
|---|---|
| public final void setInteriorColor(Color color) This will set interior color of the line endings defined in the LE entry.
| |
| setLeaderExtend | back to summary |
|---|---|
| public final void setLeaderExtend(float leaderExtend) This will set the length of the leader line extensions.
| |
| setLeaderLength | back to summary |
|---|---|
| public final void setLeaderLength(float leaderLength) This will set the length of the leader line.
| |
| setLeaderOffset | back to summary |
|---|---|
| public final void setLeaderOffset(float leaderOffset) This will set the length of the leader line offset.
| |
| setLine | back to summary |
|---|---|
| public final void setLine(float[] line) This will set start and end coordinates of the line (or leader line if LL entry is set).
| |
| setStartPointEndingStyle | back to summary |
|---|---|
| public final void setStartPointEndingStyle(String style) This will set the line ending style for the start point, see the LE_ constants for the possible values.
| |