#include <Geometry.h>
Definition at line 2846 of file Geometry.h.
◆ Color() [1/4]
◆ Color() [2/4]
karto::Color::Color |
( |
const Color & |
rOther | ) |
|
|
inline |
◆ Color() [3/4]
Color with given RGBA values
- Parameters
-
red | red |
green | green |
blue | blue |
alpha | alpha |
Definition at line 2878 of file Geometry.h.
◆ Color() [4/4]
◆ ~Color()
virtual karto::Color::~Color |
( |
| ) |
|
|
inlinevirtual |
◆ GetAlpha()
const kt_double karto::Color::GetAlpha |
( |
| ) |
const |
|
inline |
Alpha value of this color
- Returns
- alpha value
Definition at line 2967 of file Geometry.h.
◆ GetBlue()
const kt_double karto::Color::GetBlue |
( |
| ) |
const |
|
inline |
Blue component of this color
- Returns
- blue component
Definition at line 2949 of file Geometry.h.
◆ GetGreen()
const kt_double karto::Color::GetGreen |
( |
| ) |
const |
|
inline |
Green component of this color
- Returns
- green component
Definition at line 2931 of file Geometry.h.
◆ GetRed()
const kt_double karto::Color::GetRed |
( |
| ) |
const |
|
inline |
Red component of this color
- Returns
- red component
Definition at line 2913 of file Geometry.h.
◆ operator!=()
kt_bool karto::Color::operator!= |
( |
const Color & |
rOther | ) |
const |
|
inline |
◆ operator==()
kt_bool karto::Color::operator== |
( |
const Color & |
rOther | ) |
const |
|
inline |
◆ SetAlpha()
void karto::Color::SetAlpha |
( |
kt_double |
alpha | ) |
|
|
inline |
Set the alpha value of this color param alpha alpha value
Definition at line 2976 of file Geometry.h.
◆ SetBlue()
Set the blue component of this color param blue blue component
Definition at line 2958 of file Geometry.h.
◆ SetGreen()
void karto::Color::SetGreen |
( |
kt_double |
green | ) |
|
|
inline |
Set the green component of this color param green green component
Definition at line 2940 of file Geometry.h.
◆ SetRed()
Set the red component of this color param red red component
Definition at line 2922 of file Geometry.h.
◆ ToString()
const String karto::Color::ToString |
( |
| ) |
const |
|
inline |
Returns a string representation of this color
- Returns
- string representation of this color
Definition at line 2985 of file Geometry.h.
◆ operator<<
Write color onto output stream
Definition at line 3018 of file Geometry.h.
◆ m_Alpha
◆ m_Blue
◆ m_Green
◆ m_Red
The documentation for this class was generated from the following file: