Enum Class StaticShadowType
- All Implemented Interfaces:
Serializable, Comparable<StaticShadowType>, Constable
Enumerates the offset directions used when rendering a static (baked) shadow. Each value describes the offset of the shadow shape relative to the
source map object.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionShadow offset downward.Shadow offset down and to the left.Shadow offset down and to the right.Shadow offset to the left.Shadow offset to the left and downward.Shadow offset to the left and the right.No shadow is rendered.Shadow is rendered without any offset.Shadow offset to the right.Shadow offset to the right and downward.Shadow offset to the right and the left. -
Method Summary
Modifier and TypeMethodDescriptionstatic StaticShadowTypeReturns the enum value matching the supplied name, orNOOFFSETif the name is blank or does not match any known value.static StaticShadowTypeReturns the enum constant of this class with the specified name.static StaticShadowType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOWN
Shadow offset downward. -
DOWNLEFT
Shadow offset down and to the left. -
DOWNRIGHT
Shadow offset down and to the right. -
LEFT
Shadow offset to the left. -
LEFTDOWN
Shadow offset to the left and downward. -
LEFTRIGHT
Shadow offset to the left and the right. -
NONE
No shadow is rendered. -
NOOFFSET
Shadow is rendered without any offset. -
RIGHT
Shadow offset to the right. -
RIGHTDOWN
Shadow offset to the right and downward. -
RIGHTLEFT
Shadow offset to the right and the left.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
get
-