Package com.vuzix.ultralite
Enum Class Anchor
- All Implemented Interfaces:
Serializable
,Comparable<Anchor>
,Constable
Possible anchor points for images and text blocks on a canvas.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAnchor position: bottom - centered left/rightAnchor position: bottom - leftAnchor position: bottom - rightAnchor position: middle up/down - centered left/rightNot used for most circumstances, use other Anchor values insteadAnchor position: middle up/down - leftAnchor position: middle up/down - rightAnchor position: top - centered left/rightAnchor position: top - leftAnchor position: top - right -
Method Summary
-
Enum Constant Details
-
DEFAULT
Not used for most circumstances, use other Anchor values instead- Since:
- 1.0.0
-
TOP_LEFT
Anchor position: top - left- Since:
- 1.0.0
-
TOP_CENTER
Anchor position: top - centered left/right- Since:
- 1.0.0
-
TOP_RIGHT
Anchor position: top - right- Since:
- 1.0.0
-
BOTTOM_LEFT
Anchor position: bottom - left- Since:
- 1.0.0
-
BOTTOM_CENTER
Anchor position: bottom - centered left/right- Since:
- 1.0.0
-
BOTTOM_RIGHT
Anchor position: bottom - right- Since:
- 1.0.0
-
MIDDLE_LEFT
Anchor position: middle up/down - left- Since:
- 1.0.0
-
MIDDLE_RIGHT
Anchor position: middle up/down - right- Since:
- 1.0.0
-
CENTER
Anchor position: middle up/down - centered left/right- Since:
- 1.0.0
-
-
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
-