public enum Alignment extends Enum<Alignment>
| Enum Constant and Description |
|---|
ALL_FACES
Focus on all faces in the image.
|
BOTTOM
Focuses or aligns on the bottom of the image, horizontal center.
|
BOTTOM_LEFT
Focuses or aligns on the bottom left side of the image.
|
BOTTOM_RIGHT
Focuses or aligns on the bottom right side of the image.
|
CENTER
Focuses or aligns on the center of the image, both vertical and horizontal center.
|
FACE_RECOGNITION
Focus on a face on the image.
|
LEFT
Focuses or aligns on the left side of the image, horizontal center.
|
RIGHT
Focuses or aligns on the right side of the image, horizontal center.
|
TOP
Focuses or aligns on the top of the image, horizontal center.
|
TOP_LEFT
Focuses or aligns on top left side of the image.
|
TOP_RIGHT
Focuses or aligns on top right side of the image.
|
| Modifier and Type | Method and Description |
|---|---|
static Alignment |
fromString(String value) |
String |
getValue() |
static Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alignment CENTER
public static final Alignment TOP
public static final Alignment TOP_LEFT
public static final Alignment TOP_RIGHT
public static final Alignment BOTTOM
public static final Alignment BOTTOM_LEFT
public static final Alignment BOTTOM_RIGHT
public static final Alignment LEFT
public static final Alignment RIGHT
public static final Alignment FACE_RECOGNITION
public static final Alignment ALL_FACES
public static Alignment[] values()
for (Alignment c : Alignment.values()) System.out.println(c);
public static Alignment valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2016 wix.com. All rights reserved.