#include <line-item.h>
Public Member Functions | |
LineItem (Canvas *canvas) | |
LineItem (Group *parent, ItemClient *client=NULL) | |
virtual | ~LineItem () |
void | SetLineWidth (double val) |
double | GetLineWidth (void) const |
void | SetLineColor (GOColor val) |
GOColor | GetLineColor (void) const |
This base class implements the common properties of all lines.
Definition at line 40 of file line-item.h.
gccv::LineItem::LineItem | ( | Canvas * | canvas | ) |
gccv::LineItem::LineItem | ( | Group * | parent, | |
ItemClient * | client = NULL | |||
) |
parent | the Group to which the new LineItem will be added. | |
client | the ItemClient for the new LineItem if any. |
virtual gccv::LineItem::~LineItem | ( | ) | [virtual] |
The destructor.
gccv::LineItem::GetLineColor | ( | void | ) | const [inline] |
gccv::LineItem::GetLineWidth | ( | void | ) | const [inline] |
gccv::LineItem::SetLineColor | ( | GOColor | color | ) | [inline] |
color | the new line color. |
Definition at line 78 of file line-item.h.
gccv::LineItem::SetLineWidth | ( | double | width | ) | [inline] |
width | the new line width. |
Definition at line 69 of file line-item.h.