This method of the DirectDrawPalette Class queries palette values from a DirectDrawPalette object and returns the color values associated with each entry.
public Color[] getColorEntries(int flags, int start, int count);
Returns an array that contains the color values for the requested entries.
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. |