PsdColorMode

Contents
[ ]

Inheritance: java.lang.Object, java.lang.Enum

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public enum PsdColorMode extends Enum<PsdColorMode> implements IEnumValue

Represents the psd file format color mode.

Fields

Field Description
Bitmap The bitmap color mode.
Grayscale The grayscale mode.
Indexed The indexed color mode.
Rgb The RGB color mode.
Cmyk The CMYK color mode.
Multichannel The multichannel color mode.
Duotone The duotone color mode.
Lab The LAB color mode.

Methods

Method Description
values()
valueOf(String name)
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()

Bitmap

public static final PsdColorMode Bitmap

The bitmap color mode.

Grayscale

public static final PsdColorMode Grayscale

The grayscale mode.

Indexed

public static final PsdColorMode Indexed

The indexed color mode.

Rgb

public static final PsdColorMode Rgb

The RGB color mode.

Cmyk

public static final PsdColorMode Cmyk

The CMYK color mode.

Multichannel

public static final PsdColorMode Multichannel

The multichannel color mode.

Duotone

public static final PsdColorMode Duotone

The duotone color mode.

Lab

public static final PsdColorMode Lab

The LAB color mode.

values()

public static PsdColorMode[] values()

Returns: com.groupdocs.metadata.core.PsdColorMode[]

valueOf(String name)

public static PsdColorMode valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: PsdColorMode

getByRawValue(int rawValue)

public static PsdColorMode getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: PsdColorMode

getFirst()

public static IEnumValue getFirst()

Returns: IEnumValue

getAllValues()

public Object[] getAllValues()

Returns the array of all values defined in the class.

Returns: java.lang.Object[]

getEnumValueByRawValue(int rawValue)

public IEnumValue getEnumValueByRawValue(int rawValue)

Returns the enumeration value by the raw value associated with it.

Parameters:

Parameter Type Description
rawValue int

Returns: IEnumValue

getEnumValueByName(String name)

public IEnumValue getEnumValueByName(String name)

Returns the enumeration value by its name.

Parameters:

Parameter Type Description
name java.lang.String

Returns: IEnumValue

getRawValueType()

public RawIntegerType getRawValueType()

Returns the underlying type of the raw value of this enumeration value.

Returns: RawIntegerType

getRawValue()

public int getRawValue()

Returns the raw value of this enumeration value.

Returns: int