A library for working with phylogenetic and population genetic data.
v0.32.0
SvgColorBarSettings Struct Reference

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

Detailed Description

Definition at line 59 of file color_bar.hpp.

Public Types

enum  Direction { kTopToBottom, kBottomToTop, kLeftToRight, kRightToLeft }
 

Public Attributes

Direction direction = Direction::kBottomToTop
 
double height = 200
 
double line_width = 1
 
size_t num_ticks = 5
 
double text_size = 10.0
 
double width = 20
 
bool with_labels = true
 
bool with_tickmarks = true
 

Member Enumeration Documentation

◆ Direction

enum Direction
strong
Enumerator
kTopToBottom 
kBottomToTop 
kLeftToRight 
kRightToLeft 

Definition at line 67 of file color_bar.hpp.

Member Data Documentation

◆ direction

Definition at line 79 of file color_bar.hpp.

◆ height

double height = 200

Definition at line 82 of file color_bar.hpp.

◆ line_width

double line_width = 1

Definition at line 83 of file color_bar.hpp.

◆ num_ticks

size_t num_ticks = 5

Definition at line 88 of file color_bar.hpp.

◆ text_size

double text_size = 10.0

Definition at line 89 of file color_bar.hpp.

◆ width

double width = 20

Definition at line 81 of file color_bar.hpp.

◆ with_labels

bool with_labels = true

Definition at line 86 of file color_bar.hpp.

◆ with_tickmarks

bool with_tickmarks = true

Definition at line 85 of file color_bar.hpp.


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