public static enum MCspatialCoordinatesItem.GraphicTypes extends java.lang.Enum<MCspatialCoordinatesItem.GraphicTypes>
Enum Constant and Description |
---|
CIRCLE
A circle defined by two (column,row) pairs.
|
ELLIPSE
An ellipse defined by four pixel (column,row) pairs, the first two points specifying
the endpoints of the major axis and the second two points specifying the endpoints of
the minor axis of an ellipse.
|
MULTIPOINT
Multiple pixels each denoted by an (column,row) pair.
|
POINT
A single pixel denoted by a single (column,row) pair.
|
POLYLINE
A series of connected line segments with ordered vertices denoted by
(column,row) pairs; if the first and last vertices are the same it is a closed polygon.
|
UNKNOWN
An unknown illegal value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
definedTerm()
Returns DICOM defined term for this graphic type.
|
static MCspatialCoordinatesItem.GraphicTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MCspatialCoordinatesItem.GraphicTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MCspatialCoordinatesItem.GraphicTypes POINT
public static final MCspatialCoordinatesItem.GraphicTypes MULTIPOINT
public static final MCspatialCoordinatesItem.GraphicTypes POLYLINE
public static final MCspatialCoordinatesItem.GraphicTypes CIRCLE
public static final MCspatialCoordinatesItem.GraphicTypes ELLIPSE
public static final MCspatialCoordinatesItem.GraphicTypes UNKNOWN
public static MCspatialCoordinatesItem.GraphicTypes[] values()
for (MCspatialCoordinatesItem.GraphicTypes c : MCspatialCoordinatesItem.GraphicTypes.values()) System.out.println(c);
public static MCspatialCoordinatesItem.GraphicTypes 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 nullpublic java.lang.String definedTerm()