Photon 1.0.0
Loading...
Searching...
No Matches
litehtml::gradient::color_stop Class Reference

#include <gradient.h>

Public Member Functions

 color_stop ()
 
 color_stop (web_color color)
 
 color_stop (web_color color, css_length length)
 
 color_stop (web_color color, float angle)
 
 color_stop (css_length length)
 
 color_stop (float angle)
 

Public Attributes

bool is_color_hint = false
 
web_color color
 
optional< css_lengthlength
 
optional< float > angle
 

Constructor & Destructor Documentation

◆ color_stop() [1/6]

litehtml::gradient::color_stop::color_stop ( )
inline

◆ color_stop() [2/6]

litehtml::gradient::color_stop::color_stop ( web_color  color)
inline

◆ color_stop() [3/6]

litehtml::gradient::color_stop::color_stop ( web_color  color,
css_length  length 
)
inline

◆ color_stop() [4/6]

litehtml::gradient::color_stop::color_stop ( web_color  color,
float  angle 
)
inline

◆ color_stop() [5/6]

litehtml::gradient::color_stop::color_stop ( css_length  length)
inline

◆ color_stop() [6/6]

litehtml::gradient::color_stop::color_stop ( float  angle)
inline

Member Data Documentation

◆ angle

optional<float> litehtml::gradient::color_stop::angle

◆ color

web_color litehtml::gradient::color_stop::color

◆ is_color_hint

bool litehtml::gradient::color_stop::is_color_hint = false

◆ length

optional<css_length> litehtml::gradient::color_stop::length

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