#include "color.h"
Include dependency graph for color.c:
Go to the source code of this file.
Functions | |
jobject | convertColor (const Color *color) |
Converts a Color struct to a Java Color-Object. | |
Color | convertJavaColor (jobject color) |
Converts a Java Color-Object to a Color struct. |
This Color structure is an "equivalent" to the Java color. It holds the same values namely red, green, blue and alpha. Each value can be a number from 0 to 255. An alpha value of 0 means transparent and an alpha value of 255 means opaque.
Definition in file color.c.
|
Converts a Color struct to a Java Color-Object.
|
|
Converts a Java Color-Object to a Color struct.
|