public enum PathOperators extends java.lang.Enum<PathOperators>
| Enum Constant and Description |
|---|
CLOSE
Designates the h (closepath) operator, which closes the current sub-path.
|
CURVE
Designates the c (curveto) operator, which appends a bezier curve to the path.
|
LINE
Designates the l (lineto) operator, which appends a straight line segment from the current point.
|
MOVE
Designates the m (moveto) operator, which moves the current point.
|
RECT_PATH
Designates the re operator, which adds a rectangle to the current path.
|
| Modifier and Type | Method and Description |
|---|---|
static PathOperators |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PathOperators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathOperators MOVE
public static final PathOperators LINE
public static final PathOperators CURVE
public static final PathOperators RECT_PATH
public static final PathOperators CLOSE
public static PathOperators[] values()
for (PathOperators c : PathOperators.values()) System.out.println(c);
public static PathOperators 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