PsdColorPalette

PsdColorPalette constructor (1 of 11)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(IColorPalette colorPalette)
Parameter Type Description
colorPalette IColorPalette The color palette.

See Also


PsdColorPalette constructor (2 of 11)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(IColorPalette colorPalette, short transparentIndex)
Parameter Type Description
colorPalette IColorPalette The color palette.
transparentIndex Int16 The transparent color index.

See Also


PsdColorPalette constructor (3 of 11)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(byte[] rawEntriesData, bool isCompactPalette)
Parameter Type Description
rawEntriesData Byte[] The raw entries data.
isCompactPalette Boolean Indicating whether compact it palette.

See Also


PsdColorPalette constructor (4 of 11)

Initializes a new instance of the PsdColorPalette class and IsCompactPalette is false.

public PsdColorPalette(byte[] rawEntriesData)
Parameter Type Description
rawEntriesData Byte[] The raw entries data.

See Also


PsdColorPalette constructor (5 of 11)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(byte[] rawEntriesData, short transparentIndex, bool useCompactPalette)
Parameter Type Description
rawEntriesData Byte[] The raw entries data.
transparentIndex Int16 The transparent color index. Note the index is not the raw entries index instead it is for the converted color array.
useCompactPalette Boolean Indicating whether compact it palette.

See Also


PsdColorPalette constructor (6 of 11)

Initializes a new instance of the PsdColorPalette class and IsCompactPalette is false.

public PsdColorPalette(byte[] rawEntriesData, short transparentIndex)
Parameter Type Description
rawEntriesData Byte[] The raw entries data.
transparentIndex Int16 The transparent color index. Note the index is not the raw entries index instead it is for the converted color array.

See Also


PsdColorPalette constructor (7 of 11)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(int[] colorPaletteArgb32Entries, bool isCompactPalette)
Parameter Type Description
colorPaletteArgb32Entries Int32[] The color palette 32-bit ARGB entries.
isCompactPalette Boolean Indicating whether compact it palette.

See Also


PsdColorPalette constructor (8 of 11)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(Color[] colorPaletteEntries, bool isCompactPalette)
Parameter Type Description
colorPaletteEntries Color[] The color palette entries.
isCompactPalette Boolean Indicating whether compact it palette.

See Also


PsdColorPalette constructor (9 of 11)

Initializes a new instance of the PsdColorPalette class and IsCompactPalette is false.

public PsdColorPalette(Color[] colorPaletteEntries)
Parameter Type Description
colorPaletteEntries Color[] The color palette entries.

See Also


PsdColorPalette constructor (10 of 11)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(Color[] colorPaletteEntries, short transparentIndex, bool useCompactPalette)
Parameter Type Description
colorPaletteEntries Color[] The color palette entries.
transparentIndex Int16 The transparent color index.
useCompactPalette Boolean Indicating whether compact it palette.

See Also


PsdColorPalette constructor (11 of 11)

Initializes a new instance of the PsdColorPalette class and IsCompactPalette is false.

public PsdColorPalette(Color[] colorPaletteEntries, short transparentIndex)
Parameter Type Description
colorPaletteEntries Color[] The color palette entries.
transparentIndex Int16 The transparent color index.

See Also