public enum AnnotationCoordinateMode extends java.lang.Enum<AnnotationCoordinateMode>
Enum Constant and Description |
---|
Absolute
Absolute, requires that coordinates X1,Y1,X2,Y2 are data-values
|
Relative
Relative, requires that coordinates X1,Y1,X2,Y2 are double values between 0.0 and 1.0
|
RelativeX
RelativeX, requires that coordinates X1,X2 are double values between 0.0 and 1.0, whereas Y1,Y2 are data-values
|
RelativeY
RelativeY, requires that coordinates Y1,Y2 are double values between 0.0 and 1.0, whereas X1,X2 are data-values
|
Modifier and Type | Method and Description |
---|---|
static AnnotationCoordinateMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationCoordinateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationCoordinateMode Absolute
public static final AnnotationCoordinateMode Relative
public static final AnnotationCoordinateMode RelativeX
public static final AnnotationCoordinateMode RelativeY
public static AnnotationCoordinateMode[] values()
for (AnnotationCoordinateMode c : AnnotationCoordinateMode.values()) System.out.println(c);
public static AnnotationCoordinateMode 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