FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
LinearGradient::Stop Struct Reference

#include <linear_gradient.hpp>

Public Attributes

Color color = Color::Default
 
std::optional< float > position
 

Detailed Description

漸變停止點是漸變中特定位置的顏色。 位置是介於 0.0 和 1.0 之間的值, 其中 0.0 是漸變的開始, 1.0 是漸變的結束。

Definition at line 38 of file linear_gradient.hpp.

Member Data Documentation

◆ color

Definition at line 39 of file linear_gradient.hpp.

◆ position

std::optional<float> position

Definition at line 40 of file linear_gradient.hpp.


The documentation for this struct was generated from the following file: