Package com.airbnb.lottie.model.layer
Enum Layer.MatteType
- java.lang.Object
-
- java.lang.Enum<Layer.MatteType>
-
- com.airbnb.lottie.model.layer.Layer.MatteType
-
- All Implemented Interfaces:
Serializable,Comparable<Layer.MatteType>
- Enclosing class:
- Layer
public static enum Layer.MatteType extends Enum<Layer.MatteType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Layer.MatteTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Layer.MatteType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Layer.MatteType NONE
-
ADD
public static final Layer.MatteType ADD
-
INVERT
public static final Layer.MatteType INVERT
-
LUMA
public static final Layer.MatteType LUMA
-
LUMA_INVERTED
public static final Layer.MatteType LUMA_INVERTED
-
UNKNOWN
public static final Layer.MatteType UNKNOWN
-
-
Method Detail
-
values
public static Layer.MatteType[] 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 (Layer.MatteType c : Layer.MatteType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Layer.MatteType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-