![]() |
ThorVG
v0.13
|
A data structure storing the information about the color and its relative position inside the gradient bounds. More...
Public Attributes | |
| float | offset |
| uint8_t | r |
| uint8_t | g |
| uint8_t | b |
| uint8_t | a |
A data structure storing the information about the color and its relative position inside the gradient bounds.
| uint8_t a |
The alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque.
| uint8_t b |
The blue color channel value in the range [0 ~ 255].
| uint8_t g |
The green color channel value in the range [0 ~ 255].
| float offset |
The relative position of the color.
| uint8_t r |
The red color channel value in the range [0 ~ 255].