net.sf.latexdraw.parsers.svg.path
Enum SVGPathSeg.PathSeg
java.lang.Object
java.lang.Enum<SVGPathSeg.PathSeg>
net.sf.latexdraw.parsers.svg.path.SVGPathSeg.PathSeg
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SVGPathSeg.PathSeg>
- Enclosing class:
- SVGPathSeg
public static enum SVGPathSeg.PathSeg
- extends java.lang.Enum<SVGPathSeg.PathSeg>
All the different path segments.
Method Summary |
static SVGPathSeg.PathSeg |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SVGPathSeg.PathSeg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final SVGPathSeg.PathSeg UNKNOWN
CLOSEPATH
public static final SVGPathSeg.PathSeg CLOSEPATH
MOVETO_ABS
public static final SVGPathSeg.PathSeg MOVETO_ABS
MOVETO_REL
public static final SVGPathSeg.PathSeg MOVETO_REL
LINETO_ABS
public static final SVGPathSeg.PathSeg LINETO_ABS
LINETO_REL
public static final SVGPathSeg.PathSeg LINETO_REL
CURVETO_CUBIC_ABS
public static final SVGPathSeg.PathSeg CURVETO_CUBIC_ABS
CURVETO_CUBIC_REL
public static final SVGPathSeg.PathSeg CURVETO_CUBIC_REL
CURVETO_QUADRATIC_ABS
public static final SVGPathSeg.PathSeg CURVETO_QUADRATIC_ABS
CURVETO_QUADRATIC_REL
public static final SVGPathSeg.PathSeg CURVETO_QUADRATIC_REL
ARC_ABS
public static final SVGPathSeg.PathSeg ARC_ABS
ARC_REL
public static final SVGPathSeg.PathSeg ARC_REL
LINETO_HORIZONTAL_ABS
public static final SVGPathSeg.PathSeg LINETO_HORIZONTAL_ABS
LINETO_HORIZONTAL_REL
public static final SVGPathSeg.PathSeg LINETO_HORIZONTAL_REL
LINETO_VERTICAL_ABS
public static final SVGPathSeg.PathSeg LINETO_VERTICAL_ABS
LINETO_VERTICAL_REL
public static final SVGPathSeg.PathSeg LINETO_VERTICAL_REL
CURVETO_CUBIC_SMOOTH_ABS
public static final SVGPathSeg.PathSeg CURVETO_CUBIC_SMOOTH_ABS
CURVETO_CUBIC_SMOOTH_REL
public static final SVGPathSeg.PathSeg CURVETO_CUBIC_SMOOTH_REL
CURVETO_QUADRATIC_SMOOTH_ABS
public static final SVGPathSeg.PathSeg CURVETO_QUADRATIC_SMOOTH_ABS
CURVETO_QUADRATIC_SMOOTH_REL
public static final SVGPathSeg.PathSeg CURVETO_QUADRATIC_SMOOTH_REL
values
public static SVGPathSeg.PathSeg[] 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 (SVGPathSeg.PathSeg c : SVGPathSeg.PathSeg.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SVGPathSeg.PathSeg 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 name
java.lang.NullPointerException
- if the argument is null