#include <genesis/utils/formats/svg/gradient.hpp>
Definition at line 52 of file gradient.hpp.
Public Member Functions | |
SvgGradientStop (double offset, Color const &stop_color=Color()) | |
SvgGradientStop (SvgGradientStop &&)=default | |
SvgGradientStop (SvgGradientStop const &)=default | |
~SvgGradientStop ()=default | |
bool | operator< (self_type const &rhs) const |
SvgGradientStop & | operator= (SvgGradientStop &&)=default |
SvgGradientStop & | operator= (SvgGradientStop const &)=default |
void | validate () const |
void | write (std::ostream &out) const |
Public Types | |
using | self_type = SvgGradientStop |
Public Attributes | |
double | offset |
Color | stop_color |
|
inline |
Definition at line 66 of file gradient.hpp.
|
default |
|
default |
|
default |
bool operator< | ( | self_type const & | rhs | ) | const |
Definition at line 68 of file gradient.cpp.
|
default |
|
default |
void validate | ( | ) | const |
Definition at line 47 of file gradient.cpp.
void write | ( | std::ostream & | out | ) | const |
Definition at line 58 of file gradient.cpp.
using self_type = SvgGradientStop |
Definition at line 60 of file gradient.hpp.
double offset |
Definition at line 97 of file gradient.hpp.
Color stop_color |
Definition at line 98 of file gradient.hpp.