Package org.jpedal.manipulator
Enum Class AddImage.ColorSpace
- All Implemented Interfaces:
Serializable,Comparable<AddImage.ColorSpace>,Constable
- Enclosing class:
AddImage
Represents a color space that you can write with.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBytes in the order: alpha, cyan, magenta, yellow, key.Bytes in the order: alpha, gray.Bytes in the order: alpha, red, green, blue.Bytes in the order: cyan, magenta, yellow, key.Bytes in the order: gray.Bytes in the order: red, green, blue. -
Method Summary
Modifier and TypeMethodDescriptionstatic AddImage.ColorSpaceReturns the enum constant of this class with the specified name.static AddImage.ColorSpace[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RGB
Bytes in the order: red, green, blue. -
ARGB
Bytes in the order: alpha, red, green, blue. -
GRAY
Bytes in the order: gray. -
AGRAY
Bytes in the order: alpha, gray. -
CMYK
Bytes in the order: cyan, magenta, yellow, key. -
ACMYK
Bytes in the order: alpha, cyan, magenta, yellow, key.
-
-
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
-