public enum GeomCmd extends Enum<GeomCmd>
GeomCmdHdr| Modifier and Type | Method and Description |
|---|---|
static GeomCmd |
fromId(int cmdId)
Return matching
GeomCmd for the provided cmdId, or null if there is not
a matching command. |
int |
getCmdId() |
int |
getParamCount() |
static GeomCmd |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeomCmd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeomCmd MoveTo
public static final GeomCmd LineTo
public static final GeomCmd ClosePath
public static GeomCmd[] values()
for (GeomCmd c : GeomCmd.values()) System.out.println(c);
public static GeomCmd 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 int getCmdId()
public int getParamCount()
Copyright © 2022. All rights reserved.