TBTK
TBTK::Plot::Decoration Class Reference

Public Types

enum  LineStyle { Line, Point }
 

Public Member Functions

 Decoration ()
 
 Decoration (const std::vector< unsigned char > &color, LineStyle lineStyle, unsigned int size=1)
 
 ~Decoration ()
 
void setColor (const std::vector< unsigned char > &color)
 
const std::vector< unsigned char > & getColor () const
 
const LineStylegetLineStyle () const
 
unsigned int getSize () const
 

Member Enumeration Documentation

◆ LineStyle

Enum class for describingthe line style.

Constructor & Destructor Documentation

◆ Decoration() [1/2]

TBTK::Plot::Decoration::Decoration ( )
inline

Constructor.

◆ Decoration() [2/2]

TBTK::Plot::Decoration::Decoration ( const std::vector< unsigned char > &  color,
LineStyle  lineStyle,
unsigned int  size = 1 
)
inline

Constructor.

◆ ~Decoration()

TBTK::Plot::Decoration::~Decoration ( )
inline

Destructor.

Member Function Documentation

◆ getColor()

const std::vector< unsigned char > & TBTK::Plot::Decoration::getColor ( ) const
inline

Get color.

◆ getLineStyle()

const Decoration::LineStyle & TBTK::Plot::Decoration::getLineStyle ( ) const
inline

Get line style.

◆ getSize()

unsigned int TBTK::Plot::Decoration::getSize ( ) const
inline

Get size.

◆ setColor()

void TBTK::Plot::Decoration::setColor ( const std::vector< unsigned char > &  color)
inline

Set color.


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