Microsoft SDK for Java

getPaletteEntries

This method of the DirectDrawPalette Class queries palette values from a DirectDrawPalette object and returns a PaletteEntry object that represents each entry.

Syntax

public PaletteEntry[] getPaletteEntries(int flags, int start, int count);

Return Value

Returns an array of objects that contain the requested entries.

Parameters

flags Reserved; the value must be 0.
start The beginning of the entries that should be sequentially retrieved.
count The number of palette entries to retrieve. Each palette entry is returned in sequence, from the value of the start parameter through the value of the count parameter minus 1.

See Also

getColorEntries, getEntries

© 1999 Microsoft Corporation. All rights reserved. Terms of use.