Enum USegmentType
- java.lang.Object
-
- java.lang.Enum<USegmentType>
-
- net.sourceforge.plantuml.klimt.geom.USegmentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<USegmentType>
public enum USegmentType extends java.lang.Enum<USegmentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SEG_ARCTOSEG_CLOSESEG_CUBICTOSEG_LINETOSEG_MOVETOSEG_QUADTO
-
Field Summary
Fields Modifier and Type Field Description static intSEG_ARCTO_VALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNbPoints()static USegmentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static USegmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEG_MOVETO
public static final USegmentType SEG_MOVETO
-
SEG_LINETO
public static final USegmentType SEG_LINETO
-
SEG_QUADTO
public static final USegmentType SEG_QUADTO
-
SEG_CUBICTO
public static final USegmentType SEG_CUBICTO
-
SEG_CLOSE
public static final USegmentType SEG_CLOSE
-
SEG_ARCTO
public static final USegmentType SEG_ARCTO
-
-
Field Detail
-
SEG_ARCTO_VALUE
public static final int SEG_ARCTO_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static USegmentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (USegmentType c : USegmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static USegmentType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNbPoints
public int getNbPoints()
-
-