Enum Class VipsBandFormat

java.lang.Object
java.lang.Enum<VipsBandFormat>
app.photofox.vipsffm.enums.VipsBandFormat
All Implemented Interfaces:
VEnum, VNamedEnum, Serializable, Comparable<VipsBandFormat>, Constable

public enum VipsBandFormat extends Enum<VipsBandFormat> implements VNamedEnum

The format used for each band element.

Each corresponds to a native C type for the current machine. For example, FORMAT_USHORT is <type>unsigned short</type>.

  • Enum Constant Details

    • FORMAT_NOTSET

      public static final VipsBandFormat FORMAT_NOTSET

      invalid setting

    • FORMAT_UCHAR

      public static final VipsBandFormat FORMAT_UCHAR

      unsigned char format

    • FORMAT_CHAR

      public static final VipsBandFormat FORMAT_CHAR

      char format

    • FORMAT_USHORT

      public static final VipsBandFormat FORMAT_USHORT

      unsigned short format

    • FORMAT_SHORT

      public static final VipsBandFormat FORMAT_SHORT

      short format

    • FORMAT_UINT

      public static final VipsBandFormat FORMAT_UINT

      unsigned int format

    • FORMAT_INT

      public static final VipsBandFormat FORMAT_INT

      int format

    • FORMAT_FLOAT

      public static final VipsBandFormat FORMAT_FLOAT

      float format

    • FORMAT_COMPLEX

      public static final VipsBandFormat FORMAT_COMPLEX

      complex (two floats) format

    • FORMAT_DOUBLE

      public static final VipsBandFormat FORMAT_DOUBLE

      double float format

    • FORMAT_DPCOMPLEX

      public static final VipsBandFormat FORMAT_DPCOMPLEX

      double complex (two double) format

    • FORMAT_LAST

      public static final VipsBandFormat FORMAT_LAST
  • Field Details

  • Method Details

    • values

      public static VipsBandFormat[] 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 VipsBandFormat 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
    • getName

      public String getName()
      Specified by:
      getName in interface VNamedEnum
    • getNickname

      public String getNickname()
      Specified by:
      getNickname in interface VNamedEnum
    • getRawValue

      public int getRawValue()
      Specified by:
      getRawValue in interface VEnum