|
| | Color () |
| | Black. More...
|
| |
| | Color (::Vector3 hsv) |
| | Returns a Color from HSV values. More...
|
| |
| | Color (::Vector4 normalized) |
| | Returns Color from normalized values [0..1]. More...
|
| |
| | Color (const ::Color &color) |
| |
| | Color (int hexValue) |
| | Get Color structure from hexadecimal value. More...
|
| |
| | Color (unsigned char red, unsigned char green, unsigned char blue) |
| |
| | Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) |
| |
| Color | Alpha (float alpha) const |
| | Returns color with alpha applied, alpha goes from 0.0f to 1.0f. More...
|
| |
| Color | AlphaBlend (::Color dst, ::Color tint) const |
| | Returns src alpha-blended into dst color with tint. More...
|
| |
| Color & | ClearBackground () |
| | Set background color (framebuffer clear color) More...
|
| |
| Color & | DrawLine (::Vector2 startPos, ::Vector2 endPos) |
| |
| Color & | DrawLine (::Vector2 startPos, ::Vector2 endPos, float thick) |
| |
| Color & | DrawLine (int startPosX, int startPosY, int endPosX, int endPosY) |
| | Draw a line. More...
|
| |
| Color & | DrawLineBezier (::Vector2 startPos, ::Vector2 endPos, float thick) |
| |
| Color & | DrawLineStrip (::Vector2 *points, int numPoints) |
| |
| Color & | DrawPixel (::Vector2 pos) |
| | Draw a pixel. More...
|
| |
| Color & | DrawPixel (int x, int y) |
| |
| Color & | DrawRectangle (::Rectangle rec) |
| |
| Color & | DrawRectangle (::Rectangle rec, ::Vector2 origin, float rotation) |
| |
| Color & | DrawRectangle (::Vector2 position, ::Vector2 size) |
| |
| Color & | DrawRectangle (int posX, int posY, int width, int height) |
| |
| Color & | DrawRectangleLines (::Rectangle rec, int lineThick) |
| |
| Color & | DrawRectangleLines (int posX, int posY, int width, int height) |
| |
| Color & | DrawText (const ::Font &font, const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap=false) |
| |
| Color & | DrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing) |
| |
| Color & | DrawText (const std::string &text, int posX, int posY, int fontSize) |
| |
| Color | Fade (float alpha) const |
| | Returns color with alpha applied, alpha goes from 0.0f to 1.0f. More...
|
| |
| unsigned char | GetA () const |
| |
| unsigned char | GetB () const |
| |
| unsigned char | GetG () const |
| |
| unsigned char | GetR () const |
| |
| Vector4 | Normalize () const |
| | Returns Color normalized as float [0..1]. More...
|
| |
| | operator int () const |
| | Returns hexadecimal value for a Color. More...
|
| |
| Color & | operator= (const ::Color &color) |
| |
| void | SetA (unsigned char value) |
| |
| void | SetB (unsigned char value) |
| |
| void | SetG (unsigned char value) |
| |
| void | SetR (unsigned char value) |
| |
| Vector3 | ToHSV () const |
| | Returns HSV values for a Color. More...
|
| |
| int | ToInt () const |
| | Returns hexadecimal value for a Color. More...
|
| |
Definition at line 35 of file Color.hpp.