#include <color.hpp>
|
| float | r = 0.0f |
| |
| float | g = 0.0f |
| |
| float | b = 0.0f |
| |
| float | a = 0.0f |
| |
Definition at line 13 of file color.hpp.
◆ Color() [1/2]
◆ Color() [2/2]
| mbgl::Color::Color |
( |
float |
r_, |
|
|
float |
g_, |
|
|
float |
b_, |
|
|
float |
a_ |
|
) |
| |
|
inline |
◆ black()
| static Color mbgl::Color::black |
( |
| ) |
|
|
inlinestatic |
◆ blue()
| static Color mbgl::Color::blue |
( |
| ) |
|
|
inlinestatic |
◆ green()
| static Color mbgl::Color::green |
( |
| ) |
|
|
inlinestatic |
◆ parse()
| static std::optional<Color> mbgl::Color::parse |
( |
const std::string & |
| ) |
|
|
static |
◆ red()
| static Color mbgl::Color::red |
( |
| ) |
|
|
inlinestatic |
◆ serialize()
◆ stringify()
| std::string mbgl::Color::stringify |
( |
| ) |
const |
◆ toArray()
| std::array<double, 4> mbgl::Color::toArray |
( |
| ) |
const |
◆ toObject()
◆ white()
| static Color mbgl::Color::white |
( |
| ) |
|
|
inlinestatic |
| float mbgl::Color::a = 0.0f |
| float mbgl::Color::b = 0.0f |
| float mbgl::Color::g = 0.0f |
| float mbgl::Color::r = 0.0f |
The documentation for this class was generated from the following file:
- /home/runner/work/maplibre-native/maplibre-native/include/mbgl/util/color.hpp