Package com.pengrad.telegrambot.model
Enum MaskPosition.Point
- java.lang.Object
-
- java.lang.Enum<MaskPosition.Point>
-
- com.pengrad.telegrambot.model.MaskPosition.Point
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MaskPosition.Point>
- Enclosing class:
- MaskPosition
public static enum MaskPosition.Point extends java.lang.Enum<MaskPosition.Point>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MaskPosition.PointvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MaskPosition.Point[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
forehead
public static final MaskPosition.Point forehead
-
eyes
public static final MaskPosition.Point eyes
-
mouth
public static final MaskPosition.Point mouth
-
chin
public static final MaskPosition.Point chin
-
-
Method Detail
-
values
public static MaskPosition.Point[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MaskPosition.Point c : MaskPosition.Point.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaskPosition.Point valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-