Microsoft SDK for Java

getColorEntries

This method of the DirectDrawPalette Class queries palette values from a DirectDrawPalette object and returns the color values associated with each entry.

Syntax

public Color[] getColorEntries(int flags, int start, int count);

Return Value

Returns an array that contains the color values for 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. The colors of each palette entry are returned in sequence, from the value of the start parameter through the value of the count parameter minus 1.

See Also

getEntries, getPaletteEntries

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