Color description class. More...
Derived from: | None |
Derived by: | None |
Group: | 2D (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a color. |
| |
Color in ARGB8888 format. | |
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) |
| |
rgba(0, 0, 0, 0). | |
Find and returns the static color matching a string. | |
Returns the names of static colors defined. |
| |
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. |