VGLinearGradient
touchgfx/hal/VGData.hpp
Linear gradient paint definition.
Public Attributes
const uint32_t * | colors |
Stop colors. | |
bool | isSolid |
True if all colors are solid. | |
const uint32_t * | palette |
1024 colors in ARGB888 | |
const float * | stopPositions |
Stop positions on the vector. | |
uint32_t | stops |
Number of stops (colors) | |
float | x0 |
The gradient line start x. | |
float | x1 |
The gradient line end x. | |
float | y0 |
The gradient line start y. | |
float | y1 |
The gradient line end y. | |
Public Attributes Documentation
colors
const uint32_t * colors
Stop colors.
isSolid
bool isSolid
True if all colors are solid.
palette
const uint32_t * palette
1024 colors in ARGB888
stopPositions
const float * stopPositions
Stop positions on the vector.
stops
uint32_t stops
Number of stops (colors)
x0
float x0
The gradient line start x.
x1
float x1
The gradient line end x.
y0
float y0
The gradient line start y.
y1
float y1
The gradient line end y.