|
TachyonUI 1.1.0
High-performance UI for building tools.
|
A stop of a GradientF. More...
#include <gui_core/style/gui_style_gradient.h>
Public Member Functions | |
| bool | operator== (const GradientStop &) const =default |
Public Attributes | |
| float | offset = 0.0f |
| along the gradient, 0..1 | |
| color4f | color {} |
| alpha not premultiplied; red, green and blue may pass 1 (HDR) | |
| StopInterpolation | interpolation = StopInterpolation::Linear |
| from this stop to the next | |
A stop of a GradientF.
|
default |
| float tachyon::GradientStop::offset = 0.0f |
along the gradient, 0..1
| color4f tachyon::GradientStop::color {} |
alpha not premultiplied; red, green and blue may pass 1 (HDR)
| StopInterpolation tachyon::GradientStop::interpolation = StopInterpolation::Linear |
from this stop to the next