#include <Geometry.h>
Definition at line 2846 of file Geometry.h.
karto::Color::Color |
( |
const Color & |
rOther | ) |
|
|
inline |
Color with given RGBA values
- Parameters
-
red | red |
green | green |
blue | blue |
alpha | alpha |
Definition at line 2878 of file Geometry.h.
virtual karto::Color::~Color |
( |
| ) |
|
|
inlinevirtual |
const kt_double karto::Color::GetAlpha |
( |
| ) |
const |
|
inline |
Alpha value of this color
- Returns
- alpha value
Definition at line 2967 of file Geometry.h.
const kt_double karto::Color::GetBlue |
( |
| ) |
const |
|
inline |
Blue component of this color
- Returns
- blue component
Definition at line 2949 of file Geometry.h.
const kt_double karto::Color::GetGreen |
( |
| ) |
const |
|
inline |
Green component of this color
- Returns
- green component
Definition at line 2931 of file Geometry.h.
const kt_double karto::Color::GetRed |
( |
| ) |
const |
|
inline |
Red component of this color
- Returns
- red component
Definition at line 2913 of file Geometry.h.
kt_bool karto::Color::operator!= |
( |
const Color & |
rOther | ) |
const |
|
inline |
kt_bool karto::Color::operator== |
( |
const Color & |
rOther | ) |
const |
|
inline |
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.
Set the blue component of this color param blue blue component
Definition at line 2958 of file Geometry.h.
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.
Set the red component of this color param red red component
Definition at line 2922 of file Geometry.h.
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.
Write color onto output stream
Definition at line 3018 of file Geometry.h.
The documentation for this class was generated from the following file: