public class GDIPalette extends Object
| Constructor and Description |
|---|
GDIPalette() |
| Modifier and Type | Method and Description |
|---|---|
int |
lookupColor(int color) |
void |
readPalette(InputStream in) |
void |
setNoOfColors(int colors) |
void |
setNoOfImportantColors(int colors) |
public void setNoOfColors(int colors)
public void setNoOfImportantColors(int colors)
public void readPalette(InputStream in) throws IOException
IOExceptionpublic int lookupColor(int color)