Enum Class JCameraScreenOrigin

java.lang.Object
java.lang.Enum<JCameraScreenOrigin>
com.io7m.jcamera.JCameraScreenOrigin
All Implemented Interfaces:
Serializable, Comparable<JCameraScreenOrigin>, Constable

public enum JCameraScreenOrigin extends Enum<JCameraScreenOrigin>
Specification of screen origins.
  • Enum Constant Details

    • SCREEN_ORIGIN_BOTTOM_LEFT

      public static final JCameraScreenOrigin SCREEN_ORIGIN_BOTTOM_LEFT
      The origin of the screen is the bottom left.
    • SCREEN_ORIGIN_TOP_LEFT

      public static final JCameraScreenOrigin SCREEN_ORIGIN_TOP_LEFT
      The origin of the screen is the top left.
  • Method Details

    • values

      public static JCameraScreenOrigin[] 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

      public static JCameraScreenOrigin valueOf(String name)
      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 name
      NullPointerException - if the argument is null