PsdColorPalette.PsdColorPalette

PsdColorPalette(IColorPalette)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(IColorPalette colorPalette)
ParameterTypeDescription
colorPaletteIColorPaletteThe color palette.

See Also


PsdColorPalette(IColorPalette, short)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(IColorPalette colorPalette, short transparentIndex)
ParameterTypeDescription
colorPaletteIColorPaletteThe color palette.
transparentIndexInt16The transparent color index.

See Also


PsdColorPalette(byte[], bool)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(byte[] rawEntriesData, bool isCompactPalette)
ParameterTypeDescription
rawEntriesDataByte[]The raw entries data.
isCompactPaletteBooleanIndicating whether compact it palette.

See Also


PsdColorPalette(byte[])

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

public PsdColorPalette(byte[] rawEntriesData)
ParameterTypeDescription
rawEntriesDataByte[]The raw entries data.

See Also


PsdColorPalette(byte[], short, bool)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(byte[] rawEntriesData, short transparentIndex, bool useCompactPalette)
ParameterTypeDescription
rawEntriesDataByte[]The raw entries data.
transparentIndexInt16The transparent color index. Note the index is not the raw entries index instead it is for the converted color array.
useCompactPaletteBooleanIndicating whether compact it palette.

See Also


PsdColorPalette(byte[], short)

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

public PsdColorPalette(byte[] rawEntriesData, short transparentIndex)
ParameterTypeDescription
rawEntriesDataByte[]The raw entries data.
transparentIndexInt16The transparent color index. Note the index is not the raw entries index instead it is for the converted color array.

See Also


PsdColorPalette(int[], bool)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(int[] colorPaletteArgb32Entries, bool isCompactPalette)
ParameterTypeDescription
colorPaletteArgb32EntriesInt32[]The color palette 32-bit ARGB entries.
isCompactPaletteBooleanIndicating whether compact it palette.

See Also


PsdColorPalette(Color[], bool)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(Color[] colorPaletteEntries, bool isCompactPalette)
ParameterTypeDescription
colorPaletteEntriesColor[]The color palette entries.
isCompactPaletteBooleanIndicating whether compact it palette.

See Also


PsdColorPalette(Color[])

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

public PsdColorPalette(Color[] colorPaletteEntries)
ParameterTypeDescription
colorPaletteEntriesColor[]The color palette entries.

See Also


PsdColorPalette(Color[], short, bool)

Initializes a new instance of the PsdColorPalette class.

public PsdColorPalette(Color[] colorPaletteEntries, short transparentIndex, bool useCompactPalette)
ParameterTypeDescription
colorPaletteEntriesColor[]The color palette entries.
transparentIndexInt16The transparent color index.
useCompactPaletteBooleanIndicating whether compact it palette.

See Also


PsdColorPalette(Color[], short)

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

public PsdColorPalette(Color[] colorPaletteEntries, short transparentIndex)
ParameterTypeDescription
colorPaletteEntriesColor[]The color palette entries.
transparentIndexInt16The transparent color index.

See Also