Public メソッド | |
| Palette () | |
| Palette (int size) | |
| Palette (Color[] colors) | |
| int | getSize () |
| gets size of this palette. | |
| native Color | getColorAt (int index) |
gets color at index. | |
| void | setColorAt (int index, Color color) |
sets color at index with color. | |
| native void | setColorAt (int index, int r, int g, int b) |
sets color at index with RGB value. | |
| Color[] | getColors () |
| sets colors as array. | |
| void | setColors (Color[] colors) |
sets palette with colors. | |
| String | toString () |
| void | finalize () throws Throwable |
Static Public 変数 | |
| static int | DEFAULT_SIZE = 0xff |
Protected メソッド | |
| native void | initPalette (int size) |
| native void | freePalette () |
Protected 変数 | |
| gnu.gcj.RawData | colors = null |
| SDL_Color colors[size]. | |
Private 変数 | |
| int | size |
| size of palette table | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gets color at
|
|
|
sets colors as array.
|
|
|
gets size of this palette.
|
|
|
|
|
||||||||||||||||||||
|
sets color at
|
|
||||||||||||
|
sets color at
|
|
|
sets palette with
|
|
|
|
|
|
SDL_Color colors[size].
|
|
|
|
|
|
size of palette table
|
1.4.3