|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SDLColor | |
---|---|
sdljava.ttf | Provides the interface to SDL TTF routines defined in SDL_ttf.h |
sdljava.video | Provides all the functions which are defined in the SDL_video.h header. |
Uses of SDLColor in sdljava.ttf |
---|
Methods in sdljava.ttf with parameters of type SDLColor | |
---|---|
SDLSurface |
SDLTrueTypeFont.renderTextBlended(java.lang.String text,
SDLColor fg)
Create a 32-bit ARGB surface and render the given glyph at high quality, using alpha blending to dither the font with the given color. |
SDLSurface |
SDLTrueTypeFont.renderTextShaded(java.lang.String text,
SDLColor fg,
SDLColor bg)
Create an 8-bit palettized surface and render the given text at fast quality with the given font and color. |
SDLSurface |
SDLTrueTypeFont.renderTextSolid(java.lang.String text,
SDLColor fg)
Create an 8-bit palettized surface and render the given text at fast quality with the given font and color. |
Uses of SDLColor in sdljava.video |
---|
Methods in sdljava.video that return SDLColor | |
---|---|
static SDLColor |
SDLVideo.getRGB(int pixel,
SDLPixelFormat fmt)
Maps a pixel value into the RGB components for a given pixel format This function uses the entire 8-bit [0..255] range when converting color components from pixel formats with less than 8-bits per RGB component (e.g., a completely white pixel in 16-bit RGB565 format would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]). |
static SDLColor |
SDLVideo.getRGBA(int pixel,
SDLPixelFormat fmt)
Maps a pixel value into the RGBA components for a given pixel format This function uses the entire 8-bit [0..255] range when converting color components from pixel formats with less than 8-bits per RGB component (e.g., a completely white pixel in 16-bit RGB565 format would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]). |
Methods in sdljava.video with parameters of type SDLColor | |
---|---|
void |
SDLSurface.setColors(SDLColor[] colors)
Sets a portion of the colormap for the given 8-bit surface. |
boolean |
SDLSurface.setPalette(int flags,
SDLColor[] colors)
Sets a portion of the palette for the given 8-bit surface. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |