public enum ThumbnailMode extends java.lang.Enum<ThumbnailMode>
| Enum Constant and Description | 
|---|
| BESTFITScale down the image to fit within the given size or its transpose. | 
| FITONE_BESTFITScale down the image to completely cover the given size or its transpose. | 
| STRICTScale down the image to fit within the given size. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ThumbnailMode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ThumbnailMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ThumbnailMode STRICT
public static final ThumbnailMode BESTFIT
public static final ThumbnailMode FITONE_BESTFIT
public static ThumbnailMode[] values()
for (ThumbnailMode c : ThumbnailMode.values()) System.out.println(c);
public static ThumbnailMode 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