sdljava.video
public class SDLPalette extends Object
NOTE: 8-bit pixel formats are not yet supported!
Each pixel in an 8-bit surface is an index into the colors field of the SDL_Palette structure store in SDL_PixelFormat. A SDL_Palette should never need to be created manually. It is automatically created when SDL allocates a SDL_PixelFormat for a surface. The colors values of a SDL_Surfaces palette can be set with the SDL_SetColors.
Also see the documentation here: Version: $Id: SDLPalette.java,v 1.9 2004/12/24 17:32:17 ivan_ganza Exp $
UNKNOWN: Finish SWIG integration
Field Summary | |
---|---|
SDL_Palette | swigPalette |
Constructor Summary | |
---|---|
protected | SDLPalette(SDL_Palette swigPalette)
Creates a new SDLPalette instance.
|
SDLPalette
instance.