A library for working with phylogenetic and population genetic data.
v0.32.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 &&)=default
 
 SvgGradientStop (SvgGradientStop const &)=default
 
 ~SvgGradientStop ()=default
 
bool operator< (self_type const &rhs) const
 
SvgGradientStopoperator= (SvgGradientStop &&)=default
 
SvgGradientStopoperator= (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
 

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 &&  )
default

◆ operator=() [2/2]

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