#include <RobotAPI/components/ArViz/Client/elements/Color.h>
|
static Color | azure (int az=255, int a=255) |
| 2 Blue + 1 Green More...
|
|
static Color | black (int a=255) |
|
static Color | blue (int b=255, int a=255) |
|
static Color | cyan (int c=255, int a=255) |
| Green + Blue. More...
|
|
static Color | fromRGBA (float r, float g, float b, float a=1.0) |
| Construct a float color from R, G, B and optional alpha. More...
|
|
static Color | fromRGBA (int r, int g, int b, int a=255) |
| Construct a byte color from R, G, B and optional alpha. More...
|
|
static Color | fromRGBA (simox::Color c) |
| Construct from a simox Color. More...
|
|
static Color | gray (int g=128, int a=255) |
|
static Color | green (int g=255, int a=255) |
|
static Color | lime (int l=255, int a=255) |
| 2 Green + 1 Red More...
|
|
static Color | magenta (int m=255, int a=255) |
| Red + Blue. More...
|
|
static Color | orange (int o=255, int a=255) |
| 2 Red + 1 Green More...
|
|
static Color | pink (int p=255, int a=255) |
| 2 Red + 1 Blue More...
|
|
static Color | purple (int p=255, int a=255) |
| 2 Blue + 1 Red More...
|
|
static Color | red (int r=255, int a=255) |
|
static Color | turquoise (int t=255, int a=255) |
| 2 Green + 1 Blue More...
|
|
static Color | white (int a=255) |
|
static Color | yellow (int y=255, int a=255) |
| Red + Green. More...
|
|
Definition at line 13 of file Color.h.
◆ Color() [1/4]
Color |
( |
const data::Color & |
c | ) |
|
|
inline |
◆ Color() [2/4]
◆ Color() [3/4]
Color |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a = 255 |
|
) |
| |
|
inline |
◆ Color() [4/4]
◆ azure()
static Color azure |
( |
int |
az = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
2 Blue + 1 Green
Definition at line 143 of file Color.h.
◆ black()
static Color black |
( |
int |
a = 255 | ) |
|
|
inlinestatic |
◆ blue()
static Color blue |
( |
int |
b = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
◆ cyan()
static Color cyan |
( |
int |
c = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
Green + Blue.
Definition at line 98 of file Color.h.
◆ fromRGBA() [1/3]
Construct a float color from R, G, B and optional alpha.
Definition at line 48 of file Color.h.
◆ fromRGBA() [2/3]
static Color fromRGBA |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
Construct a byte color from R, G, B and optional alpha.
Definition at line 42 of file Color.h.
◆ fromRGBA() [3/3]
◆ gray()
static Color gray |
( |
int |
g = 128 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
◆ green()
static Color green |
( |
int |
g = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
◆ lime()
static Color lime |
( |
int |
l = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
2 Green + 1 Red
Definition at line 131 of file Color.h.
◆ magenta()
static Color magenta |
( |
int |
m = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
Red + Blue.
Definition at line 110 of file Color.h.
◆ orange()
static Color orange |
( |
int |
o = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
2 Red + 1 Green
Definition at line 119 of file Color.h.
◆ pink()
static Color pink |
( |
int |
p = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
2 Red + 1 Blue
Definition at line 125 of file Color.h.
◆ purple()
static Color purple |
( |
int |
p = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
2 Blue + 1 Red
Definition at line 149 of file Color.h.
◆ red()
static Color red |
( |
int |
r = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
◆ turquoise()
static Color turquoise |
( |
int |
t = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
2 Green + 1 Blue
Definition at line 137 of file Color.h.
◆ white()
static Color white |
( |
int |
a = 255 | ) |
|
|
inlinestatic |
◆ yellow()
static Color yellow |
( |
int |
y = 255 , |
|
|
int |
a = 255 |
|
) |
| |
|
inlinestatic |
Red + Green.
Definition at line 104 of file Color.h.
The documentation for this struct was generated from the following file:
- RobotAPI/components/ArViz/Client/elements/Color.h