Enum Class GeoParam
- All Implemented Interfaces:
Serializable,Comparable<GeoParam>,Constable
Used to define the 6 core parameters that make up an elements geometry
These are named Left, Right, Width, Top, Bottom, Height.
These names were chosen for ease of use, and to make it clear what they represent.
Internally they are known as xMin, xMax, xSize, yMin, yMax, ySize.
Created by brandon3055 on 30/06/2023
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
LEFT
X_MIN -
RIGHT
X_MAX -
WIDTH
X_SIZE -
TOP
Y_MIN -
BOTTOM
Y_MAX -
HEIGHT
Y_SIZE
-
-
Field Details
-
axis
-
-
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
-