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

Un "stop" es un color en una posición específica en el gradiente. La posición es un valor entre 0.0 y 1.0, donde 0.0 es el inicio del gradiente y 1.0 es el final del gradiente.

Definition at line 39 of file linear_gradient.hpp.

Member Data Documentation

◆ color

Definition at line 40 of file linear_gradient.hpp.

◆ position

std::optional<float> position

Definition at line 41 of file linear_gradient.hpp.


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