public enum DrawShapeCommandType extends java.lang.Enum<DrawShapeCommandType> implements ValueEnum
| Enum Constant and Description |
|---|
CIRCLETO Draw a segment of a specified circle. |
CLOSE Draws a straight line from the current point to the last "moveto" point. |
LINETO Draw a line from the current point to the given (x,y) coordinate which becomes the new current point. |
MOVETO Start a new sub-path at a given (x,y) coordinate. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static DrawShapeCommandType | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static DrawShapeCommandType[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final DrawShapeCommandType CLOSE
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "close".
public static final DrawShapeCommandType MOVETO
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "moveto".
public static final DrawShapeCommandType LINETO
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "lineto".
public static final DrawShapeCommandType CIRCLETO
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "circleto".
public static DrawShapeCommandType[] values()
for (DrawShapeCommandType c : DrawShapeCommandType.values()) System.out.println(c);
public static DrawShapeCommandType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null