Enum Pupil.Position
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum Pupil.Position extends Enum<Pupil.Position>
Relative positions of the pupil within an eye. Note that the deltas are given in Graphics2D coordinates.
NOTE "left" and "right" are relative to the screen, not the viewer. TODO redefine
-
-
Method Summary
Modifier and Type Method Description final Pair<Double, Double>
plus(Pupil.Position other)
final Pair<Double, Double>
shiftLeft()
final Pair<Double, Double>
shiftRight()
final Pair<Double, Double>
fullLeft()
final Pair<Double, Double>
fullRight()
final Pupil.Position
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<Pupil.Position>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final Double
getXDelta()
final Double
getYDelta()
-
-
Method Detail
-
plus
final Pair<Double, Double> plus(Pupil.Position other)
-
shiftRight
final Pair<Double, Double> shiftRight()
-
valueOf
final Pupil.Position valueOf(String value)
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.)
-
values
final Array<Pupil.Position> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-