4#ifndef FTXUI_DOM_LINEAR_GRADIENT_HPP
5#define FTXUI_DOM_LINEAR_GRADIENT_HPP
A class representing terminal colors.
std::shared_ptr< T > Make(Args &&... args)
Decorator color(Color)
Decorate using a foreground color.
A class representing the settings for linear-gradient color effect.
LinearGradient & Angle(float angle)
Set the angle of the gradient.
std::optional< float > position
LinearGradient()
Build the "empty" gradient. This is often followed by calls to LinearGradient::Angle() and LinearGrad...
std::vector< Stop > stops