|
FTXUI 6.1.9
C++ functional terminal UI.
|
#include <linear_gradient.hpp>
Public 属性 | |
| Color | color = Color::Default |
| std::optional< float > | position |
渐变中的一个“停止点”是在渐变中特定位置的颜色。 位置是一个介于 0.0 和 1.0 之间的值, 其中 0.0 是渐变的开始, 1.0 是渐变的结束。
在文件 linear_gradient.hpp 第 39 行定义.
| Color color = Color::Default |
在文件 linear_gradient.hpp 第 40 行定义.
| std::optional<float> position |
在文件 linear_gradient.hpp 第 41 行定义.