Enum Class ArrowheadStyle
- All Implemented Interfaces:
Serializable,Comparable<ArrowheadStyle>,Constable
指定线条末端的箭头样式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ArrowheadStyleReturns the enum constant of this class with the specified name.static ArrowheadStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
指定不显示箭头。 -
Triangle
指定一个三角箭头。 -
Open
指定一个开放箭头。 -
Stealth
指定一个隐形形状的箭头。 -
Diamond
指定一个钻石形状的箭头。 -
Oval
指定一个椭圆形的箭头。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-