Enum RenderingMode
- java.lang.Object
-
- java.lang.Enum<RenderingMode>
-
- org.verapdf.gf.model.factory.operators.RenderingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<RenderingMode>
public enum RenderingMode extends Enum<RenderingMode>
- Author:
- Timur Kamalov
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILL
FILL_CLIP
FILL_STROKE
FILL_STROKE_CLIP
NEITHER
NEITHER_CLIP
STROKE
STROKE_CLIP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RenderingMode
getRenderingMode(int value)
int
getValue()
boolean
isFill()
boolean
isStroke()
static RenderingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static RenderingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILL
public static final RenderingMode FILL
-
STROKE
public static final RenderingMode STROKE
-
FILL_STROKE
public static final RenderingMode FILL_STROKE
-
NEITHER
public static final RenderingMode NEITHER
-
FILL_CLIP
public static final RenderingMode FILL_CLIP
-
STROKE_CLIP
public static final RenderingMode STROKE_CLIP
-
FILL_STROKE_CLIP
public static final RenderingMode FILL_STROKE_CLIP
-
NEITHER_CLIP
public static final RenderingMode NEITHER_CLIP
-
-
Method Detail
-
values
public static RenderingMode[] 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 (RenderingMode c : RenderingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RenderingMode 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
-
getRenderingMode
public static RenderingMode getRenderingMode(int value)
-
isFill
public boolean isFill()
-
isStroke
public boolean isStroke()
-
getValue
public int getValue()
-
-