A toolkit for working with phylogenetic data.
v0.24.0
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() [1/3]

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

Definition at line 66 of file gradient.hpp.

◆ ~SvgGradientStop()

~SvgGradientStop ( )
default

◆ SvgGradientStop() [2/3]

SvgGradientStop ( SvgGradientStop const &  )
default

◆ SvgGradientStop() [3/3]

SvgGradientStop ( SvgGradientStop &&  )
default

Member Function Documentation

◆ operator<()

bool operator< ( self_type const &  rhs) const

Definition at line 68 of file gradient.cpp.

◆ operator=() [1/2]

SvgGradientStop& operator= ( SvgGradientStop const &  )
default

◆ operator=() [2/2]

SvgGradientStop& operator= ( SvgGradientStop &&  )
default

◆ validate()

void validate ( ) const

Definition at line 47 of file gradient.cpp.

◆ write()

void write ( std::ostream &  out) const

Definition at line 58 of file gradient.cpp.

Member Typedef Documentation

◆ self_type

Definition at line 60 of file gradient.hpp.

Member Data Documentation

◆ offset

double offset

Definition at line 97 of file gradient.hpp.

◆ stop_color

Color stop_color

Definition at line 98 of file gradient.hpp.


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