Detailed Description
Definition at line 9 of file Line.hpp.
List of all members.
Public Member Functions |
|
| Line (double x1, double y1, double x2, double y2) |
| | Create an Line to use with a Viewer to display a basic shape.
|
| void | setColor (int r, int g, int b) |
| | Set the color of the line of the shape.
|
|
void | setWidth (double _width) |
| | Set the width of the line.
|
| void | setPos (double x, double y) |
| | Set the position of the shape.
|
|
void | setLabel (char *text) |
|
void | setFontSize (int s) |
Private Attributes |
|
QGraphicsTextItem * | m_label |
|
int | m_fontSize |
Member Function Documentation
Set the color of the line of the shape.
- Parameters:
-
| r | red [0 to 255] |
| g | green [0 to 255] |
| b | blue [0 to 255] |
Set the position of the shape.
- Parameters:
-
Definition at line 32 of file Line.hpp.
The documentation for this class was generated from the following file:
- modules/qdisplay/include/qdisplay/Line.hpp