
Color description class. More...
Derived from: | None |
Derived by: | None |
Group: | 2D (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a color. |
| |
Returns the alpha color component, in the range 0-255. | |
Returns the red color component, in the range 0-255. | |
Returns the green color component, in the range 0-255. | |
Returns the blue color component, in the range 0-255. | |
Returns the alpha color component, in the range 0-1. | |
Returns the red color component, in the range 0-1. | |
Returns the green color component, in the range 0-1. | |
Returns the blue color component, in the range 0-1. | |
Returns the alpha color component, in the range 0-1. | |
Returns the red color component, in the range 0-1. | |
Returns the green color component, in the range 0-1. | |
Returns the blue color component, in the range 0-1. | |
Color == Color operator (deep compare). | |
Color != Color operator (deep compare). | |
Color in ARGB8888 format. |
| |
Set alpha color component, in the range 0-255. | |
Set red color component, in the range 0-255. | |
Set green color component, in the range 0-255. | |
Set blue color component, in the range 0-255. | |
Set alpha color component, in the range 0-1. | |
Set red color component, in the range 0-1. | |
Set green color component, in the range 0-1. | |
Set blue color component, in the range 0-1. | |
Set color based on rgba color components in the range 0-255. | |
Set color based on rgba color components in the range 0-1. | |
Converts the color to a given pixel format. | |
Converts a raw pixel in a given pixel format to a color. |
| |
Find and returns the static color matching a string. | |
Returns the names of static colors defined. | |
rgba(0, 0, 0, 0). | |