EmfPlusPalette

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusStructureObjectType

public final class EmfPlusPalette extends EmfPlusStructureObjectType

The EmfPlusPalette object specifies the colors that make up a palette.

Constructors

ConstructorDescription
EmfPlusPalette()

Methods

MethodDescription
getPaletteStyleFlags()Gets or sets the palette style flags.
setPaletteStyleFlags(int value)Gets or sets the palette style flags.
getArgb32Entries()Gets or sets the palette entries.
setArgb32Entries(int[] value)Gets or sets the palette entries.

EmfPlusPalette()

public EmfPlusPalette()

getPaletteStyleFlags()

public int getPaletteStyleFlags()

Gets or sets the palette style flags.

Value: PaletteStyleFlags (4 bytes): A 32-bit unsigned integer that specifies the attributes of data in the palette. This value MUST be composed of EmfPlusPaletteStyleFlags flags.

Returns: int

setPaletteStyleFlags(int value)

public void setPaletteStyleFlags(int value)

Gets or sets the palette style flags.

Value: PaletteStyleFlags (4 bytes): A 32-bit unsigned integer that specifies the attributes of data in the palette. This value MUST be composed of EmfPlusPaletteStyleFlags flags.

Parameters:

ParameterTypeDescription
valueint

getArgb32Entries()

public int[] getArgb32Entries()

Gets or sets the palette entries.

Value: PaletteEntries (variable): An array of PaletteCount 32-bit ARGB objects that specify the data in the palette.

Returns: int[]

setArgb32Entries(int[] value)

public void setArgb32Entries(int[] value)

Gets or sets the palette entries.

Value: PaletteEntries (variable): An array of PaletteCount 32-bit ARGB objects that specify the data in the palette.

Parameters:

ParameterTypeDescription
valueint[]