DynamicPDF by ceTe Software

com.cete.dynamicpdf.merger
Enum PixelFormat

java.lang.Object
  extended by java.lang.Enum<PixelFormat>
      extended by com.cete.dynamicpdf.merger.PixelFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PixelFormat>

public enum PixelFormat
extends java.lang.Enum<PixelFormat>

Specifies PixelFormat of the image.


Enum Constant Summary
Cmyk
          Cmyk image.
GrayScale
          GrayScale image.
Indexed
          Indexed image.
Mono
          Monochrome image.
Rgb
          Rgb image.
 
Method Summary
static PixelFormat valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PixelFormat[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Mono

public static final PixelFormat Mono
Monochrome image.


GrayScale

public static final PixelFormat GrayScale
GrayScale image.


Rgb

public static final PixelFormat Rgb
Rgb image.


Indexed

public static final PixelFormat Indexed
Indexed image.


Cmyk

public static final PixelFormat Cmyk
Cmyk image.

Method Detail

values

public static final PixelFormat[] 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 as follows:
for(PixelFormat c : PixelFormat.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PixelFormat valueOf(java.lang.String name)
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.)

Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name

DynamicPDF by ceTe Software

API Reference for DynamicPDF v11.02 for Java generated on Sep 02, 2021
© Copyright 2021, ceTe Software