Package com.luciad.drawing
Enum Class PixelFormat
- All Implemented Interfaces:
Serializable
,Comparable<PixelFormat>
,Constable
Enumeration for the supported pixel formats.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSingle band 32-bit float values.RGB values with each band using 32 bits, i.e., 3 floats.RGB values using 16 bits, i.e., 2 unsigned bytes, layed out as 5+6+5 bits.RGB values using 24 bits, i.e., 3 unsigned bytes.RGBA values using 32 bits, i.e., 4 unsigned bytes.16-bit unsigned integer values -
Method Summary
Modifier and TypeMethodDescriptionstatic PixelFormat
Returns the enum constant of this class with the specified name.static PixelFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Rgb888
RGB values using 24 bits, i.e., 3 unsigned bytes. -
Rgba8888
RGBA values using 32 bits, i.e., 4 unsigned bytes. -
Float32
Single band 32-bit float values. -
Rgb32
RGB values with each band using 32 bits, i.e., 3 floats. -
UnsignedShort
16-bit unsigned integer values -
Rgb565
RGB values using 16 bits, i.e., 2 unsigned bytes, layed out as 5+6+5 bits.
-
-
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
-