A toolkit for working with phylogenetic data.
v0.18.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SvgGradientStop Struct Reference

#include <genesis/utils/formats/svg/gradient.hpp>

Detailed Description

Definition at line 52 of file gradient.hpp.

Public Member Functions

 SvgGradientStop (double offset, Color const &stop_color=Color())
 
 SvgGradientStop (SvgGradientStop const &)=default
 
 SvgGradientStop (SvgGradientStop &&)=default
 
 ~SvgGradientStop ()=default
 
SvgGradientStopoperator= (SvgGradientStop const &)=default
 
SvgGradientStopoperator= (SvgGradientStop &&)=default
 
void validate () const
 
void write (std::ostream &out) const
 

Public Types

using self_type = SvgGradientStop
 

Public Attributes

double offset
 
Color stop_color
 

Constructor & Destructor Documentation

SvgGradientStop ( double  offset,
Color const &  stop_color = Color() 
)
inline

Definition at line 66 of file gradient.hpp.

~SvgGradientStop ( )
default
SvgGradientStop ( SvgGradientStop const &  )
default
SvgGradientStop ( SvgGradientStop &&  )
default

Member Function Documentation

SvgGradientStop& operator= ( SvgGradientStop const &  )
default
SvgGradientStop& operator= ( SvgGradientStop &&  )
default
void validate ( ) const

Definition at line 44 of file gradient.cpp.

void write ( std::ostream &  out) const

Definition at line 55 of file gradient.cpp.

Member Typedef Documentation

Definition at line 60 of file gradient.hpp.

Member Data Documentation

double offset

Definition at line 95 of file gradient.hpp.

Color stop_color

Definition at line 96 of file gradient.hpp.


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