ftxui::LinearGradient::Stop
cpp
#include <ftxui/dom/linear_gradient.hpp>A stop is a color at a specific position in the gradient. The position is a value between 0.0 and 1.0, where 0.0 is the start of the gradient and 1.0 is the end of the gradient.
Public Attributes
color
Examples: component/flexbox_gallery, component/homescreen, component/input_style, component/linear_gradient_gallery, component/maybe, component/menu_entries, component/menu_style, component/renderer, component/terminal_info, dom/border_colored, dom/color_gallery, dom/color_truecolor_HSV (+6 more)
position
cpp
std::optional< float > position;