public enum CommandName extends Enum<CommandName>
| Enum Constant and Description |
|---|
CLOSE |
CUBIC_BEZIER_CURVE |
HORIZONTAL_LINE |
LINE |
MOVE |
QUADRATIC_BEZIER_CURVE |
SHORT_CUBIC_BEZIER_CURVE |
SHORT_QUADRATIC_BEZIER_CURVE |
VERTICAL_LINE |
| Modifier and Type | Method and Description |
|---|---|
char |
getAbsoluteName()
Returns the
absoluteName. |
Collection<Character> |
getNames()
Returns a list containing the
absoluteName and the relativeName. |
char |
getRelativeName()
Returns the
relativeName. |
boolean |
isCommandName(char name) |
static CommandName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandName MOVE
public static final CommandName LINE
public static final CommandName CLOSE
public static final CommandName HORIZONTAL_LINE
public static final CommandName VERTICAL_LINE
public static final CommandName CUBIC_BEZIER_CURVE
public static final CommandName SHORT_CUBIC_BEZIER_CURVE
public static final CommandName QUADRATIC_BEZIER_CURVE
public static final CommandName SHORT_QUADRATIC_BEZIER_CURVE
public static CommandName[] values()
for (CommandName c : CommandName.values()) System.out.println(c);
public static CommandName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isCommandName(char name)
public char getAbsoluteName()
absoluteName.absoluteName.public char getRelativeName()
relativeName.relativeName.public Collection<Character> getNames()
absoluteName and the relativeName.absoluteName and the relativeName,Copyright © 2017 Saxonia Systems AG. All rights reserved.