public static enum ImageOption.Focus extends java.lang.Enum<ImageOption.Focus>
| Enum Constant and Description |
|---|
bottom |
bottom_left |
bottom_right |
face
Focus the resizing/cropping on one face detected area.
|
faces
Focus the resizing/cropping on multiple face detected areas.
|
left |
right |
top
Directional focus areas.
|
top_left |
top_right |
| Modifier and Type | Method and Description |
|---|---|
static ImageOption.Focus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageOption.Focus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageOption.Focus top
public static final ImageOption.Focus left
toppublic static final ImageOption.Focus right
toppublic static final ImageOption.Focus bottom
toppublic static final ImageOption.Focus top_left
toppublic static final ImageOption.Focus top_right
toppublic static final ImageOption.Focus bottom_left
toppublic static final ImageOption.Focus bottom_right
toppublic static final ImageOption.Focus face
public static final ImageOption.Focus faces
public static ImageOption.Focus[] values()
for (ImageOption.Focus c : ImageOption.Focus.values()) System.out.println(c);
public static ImageOption.Focus 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 nullCopyright © 2019 Contentful, GmbH.. All Rights Reserved.