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

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

Detailed Description

Definition at line 131 of file attributes.hpp.

Public Member Functions

 SvgFill (Type type=Type::kColor)
 
 SvgFill (Color color)
 
 SvgFill (std::string gradient_id)
 
 SvgFill (SvgFill const &)=default
 
 SvgFill (SvgFill &&)=default
 
 ~SvgFill ()=default
 
SvgFilloperator= (SvgFill const &)=default
 
SvgFilloperator= (SvgFill &&)=default
 
void write (std::ostream &out) const
 

Public Types

enum  Rule { kNone, kNonZero, kEvenOdd }
 
using self_type = SvgFill
 
enum  Type { kColor, kGradient, kNone, kOmit }
 

Public Attributes

Color color
 
std::string gradient_id
 
Rule rule
 
Type type
 

Constructor & Destructor Documentation

SvgFill ( SvgFill::Type  type = Type::kColor)
explicit

Definition at line 141 of file attributes.cpp.

SvgFill ( Color  color)
explicit

Definition at line 147 of file attributes.cpp.

SvgFill ( std::string  gradient_id)
explicit

Definition at line 153 of file attributes.cpp.

~SvgFill ( )
default
SvgFill ( SvgFill const &  )
default
SvgFill ( SvgFill &&  )
default

Member Function Documentation

SvgFill& operator= ( SvgFill const &  )
default
SvgFill& operator= ( SvgFill &&  )
default
void write ( std::ostream &  out) const

Definition at line 163 of file attributes.cpp.

Member Typedef Documentation

using self_type = SvgFill

Definition at line 139 of file attributes.hpp.

Member Enumeration Documentation

enum Rule
strong
Enumerator
kNone 
kNonZero 
kEvenOdd 

Definition at line 149 of file attributes.hpp.

enum Type
strong
Enumerator
kColor 
kGradient 
kNone 
kOmit 

Definition at line 141 of file attributes.hpp.

Member Data Documentation

Color color

Definition at line 186 of file attributes.hpp.

std::string gradient_id

Definition at line 184 of file attributes.hpp.

Rule rule

Definition at line 187 of file attributes.hpp.

Type type

Definition at line 182 of file attributes.hpp.


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