Package io.github.humbleui.skija
Enum EncodePNGFilterFlag
- java.lang.Object
-
- java.lang.Enum<EncodePNGFilterFlag>
-
- io.github.humbleui.skija.EncodePNGFilterFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EncodePNGFilterFlag>
public enum EncodePNGFilterFlag extends java.lang.Enum<EncodePNGFilterFlag>
-
-
Field Summary
Fields Modifier and Type Field Description int_value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EncodePNGFilterFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EncodePNGFilterFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZERO
public static final EncodePNGFilterFlag ZERO
-
NONE
public static final EncodePNGFilterFlag NONE
-
SUB
public static final EncodePNGFilterFlag SUB
-
UP
public static final EncodePNGFilterFlag UP
-
AVG
public static final EncodePNGFilterFlag AVG
-
PAETH
public static final EncodePNGFilterFlag PAETH
-
ALL
public static final EncodePNGFilterFlag ALL
-
-
Method Detail
-
values
public static EncodePNGFilterFlag[] 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 (EncodePNGFilterFlag c : EncodePNGFilterFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncodePNGFilterFlag 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
-
-