public static enum StampAnnotation.SizingMethodValue extends java.lang.Enum<StampAnnotation.SizingMethodValue>
| Enum Constant and Description |
|---|
FIT
The source image will be scaled with its aspect ratio preserved to fit inside the rectangle specified by the annotations dimensions.
|
SOURCE
The source image will be rendered at its native size.
|
STRETCH
The source image will be stretched to fill the highlight rectangle
|
| Modifier and Type | Method and Description |
|---|---|
static StampAnnotation.SizingMethodValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StampAnnotation.SizingMethodValue[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final StampAnnotation.SizingMethodValue FIT
public static final StampAnnotation.SizingMethodValue STRETCH
public static final StampAnnotation.SizingMethodValue SOURCE
public static StampAnnotation.SizingMethodValue[] values()
for (StampAnnotation.SizingMethodValue c : StampAnnotation.SizingMethodValue.values())
System.out.println(c);
public static StampAnnotation.SizingMethodValue 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