Package io.github.humbleui.skija
Enum SaveLayerRecFlag
- java.lang.Object
-
- java.lang.Enum<SaveLayerRecFlag>
-
- io.github.humbleui.skija.SaveLayerRecFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SaveLayerRecFlag>
public enum SaveLayerRecFlag extends java.lang.Enum<SaveLayerRecFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description F16_COLOR_TYPEinstead of matching previous layer's colortype, use F16INIT_WITH_PREVIOUSinitializes with previous contentsPRESERVE_LCD_TEXT
-
Field Summary
Fields Modifier and Type Field Description int_flagstatic SaveLayerRecFlag[]_values
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SaveLayerRecFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SaveLayerRecFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRESERVE_LCD_TEXT
public static final SaveLayerRecFlag PRESERVE_LCD_TEXT
-
INIT_WITH_PREVIOUS
public static final SaveLayerRecFlag INIT_WITH_PREVIOUS
initializes with previous contents
-
F16_COLOR_TYPE
public static final SaveLayerRecFlag F16_COLOR_TYPE
instead of matching previous layer's colortype, use F16
-
-
Field Detail
-
_values
@Internal public static final SaveLayerRecFlag[] _values
-
_flag
@Internal public final int _flag
-
-
Method Detail
-
values
public static SaveLayerRecFlag[] 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 (SaveLayerRecFlag c : SaveLayerRecFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SaveLayerRecFlag 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
-
-