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

Enum class for describingthe line style.

Constructor & Destructor Documentation

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

Constructor.

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

Constructor.

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

Destructor.

Member Function Documentation

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

Get color.

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

Get line style.

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

Get size.

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: