A toolkit for working with phylogenetic data.
 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
bool operator< (self_type const &rhs) const
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() 

Definition at line 66 of file gradient.hpp.

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

Member Function Documentation

bool operator< ( self_type const &  rhs) const

Definition at line 68 of file gradient.cpp.

SvgGradientStop& operator= ( SvgGradientStop const &  )
SvgGradientStop& operator= ( SvgGradientStop &&  )
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.

Member Typedef Documentation

Definition at line 60 of file gradient.hpp.

Member Data Documentation

double offset

Definition at line 97 of file gradient.hpp.

Color stop_color

Definition at line 98 of file gradient.hpp.

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