Relacs Plot Library  0.9.8
Public Member Functions | List of all members
Plot::LineStyle Class Reference

#include <plot.h>

Public Member Functions

 LineStyle (void)
 
 LineStyle (int color, int width=1, Plot::Dash dash=Plot::Solid)
 
int color (void) const
 
void setColor (int color)
 
int width (void) const
 
void setWidth (int width)
 
Plot::Dash dash (void) const
 
void setDash (Plot::Dash dash)
 

Detailed Description

Style of a plotted line (color, width, and dash-type).

Author
Jan Benda

Constructor & Destructor Documentation

LineStyle ( void  )
inline
LineStyle ( int  color,
int  width = 1,
Plot::Dash  dash = Plot::Solid 
)
inline

Member Function Documentation

int color ( void  ) const
inline
void setColor ( int  color)
inline
int width ( void  ) const
inline

Referenced by Plot::xPixel(), and Plot::yPixel().

void setWidth ( int  width)
inline
Plot::Dash dash ( void  ) const
inline
void setDash ( Plot::Dash  dash)
inline

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