#include <Whiteboard.h>
ns_whiteboard::text::text |
( |
const xy_coords & |
coords, |
|
|
const string & |
chars, |
|
|
const color & |
c = black , |
|
|
const double |
fontSize = 12.0 , |
|
|
const string & |
fontName = "Times-Roman" , |
|
|
const double |
rotAngle = 0.0 , |
|
|
bool |
alignLeft = false |
|
) |
| |
|
inline |
- Parameters
-
coords | left-most x-y coordinate of the text to display |
chars | text to display |
c | color |
fontSize | size (pts) |
fontName | font |
rotAngle | rotation angle of text measured counterclockwise from horizontal and given in degrees |
alignLeft | if true, left-justify text |
virtual ns_whiteboard::text::~text |
( |
| ) |
|
|
inlinevirtual |
void ns_whiteboard::text::SetHorizAlign |
( |
const horiz_align |
a | ) |
|
|
inline |
Method to set the horizontal alignment of the text.
void ns_whiteboard::text::SetVertAlign |
( |
const vert_align |
a | ) |
|
|
inline |
Method to set the vertical alignment of the text.
string ns_whiteboard::text::m_chars |
|
protected |
color ns_whiteboard::text::m_color |
|
protected |
string ns_whiteboard::text::m_fontName |
|
protected |
double ns_whiteboard::text::m_fontSize |
|
protected |
double ns_whiteboard::text::m_rotAngle |
|
protected |
The documentation for this class was generated from the following file: