public enum LineEnding extends Enum<LineEnding>
Enumerates the line ending styles to be used in drawing the line.
Enum Constant and Description |
---|
Butt
A short line at the endpoint perpendicular to the line itself.
|
Circle
A circle filled with the annotation's interior color, if any.
|
ClosedArrow
Two short lines meeting in an acute angle as in the OpenArrow style and connected by a third
line to form a triangular closed arrowhead filled with the annotation's interior color, if
any.
|
Diamond
A diamond shape filled with the annotation's interior color, if any.
|
None
No line ending.
|
OpenArrow
Two short lines meeting in an acute angle to form an open arrowhead.
|
RClosedArrow
A triangular closed arrowhead in the reverse direction from ClosedArrow.
|
ROpenArrow
Two short lines in the reverse direction from OpenArrow.
|
Slash
A short line at the endpoint approximately 30 degrees clockwise from perpendicular to the
line itself.
|
Square
A square filled with the annotation's interior color, if any.
|
Modifier and Type | Method and Description |
---|---|
static LineEnding |
getByValue(int value) |
int |
getValue() |
static LineEnding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineEnding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineEnding None
No line ending.
public static final LineEnding Square
A square filled with the annotation's interior color, if any.
public static final LineEnding Circle
A circle filled with the annotation's interior color, if any.
public static final LineEnding Diamond
A diamond shape filled with the annotation's interior color, if any.
public static final LineEnding OpenArrow
Two short lines meeting in an acute angle to form an open arrowhead.
public static final LineEnding ClosedArrow
Two short lines meeting in an acute angle as in the OpenArrow style and connected by a third line to form a triangular closed arrowhead filled with the annotation's interior color, if any.
public static final LineEnding Butt
A short line at the endpoint perpendicular to the line itself.
public static final LineEnding ROpenArrow
Two short lines in the reverse direction from OpenArrow.
public static final LineEnding RClosedArrow
A triangular closed arrowhead in the reverse direction from ClosedArrow.
public static final LineEnding Slash
A short line at the endpoint approximately 30 degrees clockwise from perpendicular to the line itself.
public static LineEnding[] values()
for (LineEnding c : LineEnding.values()) System.out.println(c);
public static LineEnding valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static LineEnding getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.