Package io.github.humbleui.skija
Enum Region.Op
- java.lang.Object
-
- java.lang.Enum<Region.Op>
-
- io.github.humbleui.skija.Region.Op
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIFFERENCEINTERSECTREPLACEREVERSE_DIFFERENCEUNIONXOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Region.OpvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Region.Op[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIFFERENCE
public static final Region.Op DIFFERENCE
-
INTERSECT
public static final Region.Op INTERSECT
-
UNION
public static final Region.Op UNION
-
XOR
public static final Region.Op XOR
-
REVERSE_DIFFERENCE
public static final Region.Op REVERSE_DIFFERENCE
-
REPLACE
public static final Region.Op REPLACE
-
-
Field Detail
-
_values
@Internal public static final Region.Op[] _values
-
-
Method Detail
-
values
public static Region.Op[] 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 (Region.Op c : Region.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Region.Op 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
-
-