- All Implemented Interfaces:
Serializable
,Comparable<AnchorPoint>
,Constable
An
AnchorPoint
denotes the point of an YaegerEntity
which is being used for
placement on the x,y-coordinate.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the bottom-center point of the bounding box as the Anchor Point.Use the bottom-left corner of the bounding box as the Anchor Point.Use the bottom-right corner of the bounding box as the Anchor Point.Use the center point of the bounding box as the Anchor Point.Use the center-left point of the bounding box as the Anchor Point.Use the center-right point of the bounding box as the Anchor Point.Use the top-center point of the bounding box as the Anchor Point.Use the top-left corner of the bounding box as the Anchor Point.Use the top-right corner of the bounding box as the Anchor Point. -
Method Summary
Modifier and TypeMethodDescriptionstatic AnchorPoint
Returns the enum constant of this class with the specified name.static AnchorPoint[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP_LEFT
Use the top-left corner of the bounding box as the Anchor Point. -
TOP_CENTER
Use the top-center point of the bounding box as the Anchor Point. -
TOP_RIGHT
Use the top-right corner of the bounding box as the Anchor Point. -
CENTER_LEFT
Use the center-left point of the bounding box as the Anchor Point. -
CENTER_CENTER
Use the center point of the bounding box as the Anchor Point. -
CENTER_RIGHT
Use the center-right point of the bounding box as the Anchor Point. -
BOTTOM_LEFT
Use the bottom-left corner of the bounding box as the Anchor Point. -
BOTTOM_CENTER
Use the bottom-center point of the bounding box as the Anchor Point. -
BOTTOM_RIGHT
Use the bottom-right corner of the bounding box as the Anchor Point.
-
-
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
-