VizKit
3.3.7
|
Definition of a style for a string (text). More...
#include <VisualStringStyle.h>
Public Member Functions | |
VisualStringStyle () | |
Constructor. | |
~VisualStringStyle () | |
Destructor. | |
VisualStringStyle (const VisualStringStyle &other) | |
Copy constructor. | |
VisualStringStyle & | operator= (const VisualStringStyle &other) |
Assignment operator. | |
virtual VisualStringStyle * | clone (void) const |
The horizontal alignment of the string. | |
Public Attributes | |
char | fontNameStr [512] |
The name of the font. | |
double | fontSize |
The size of the font (in points). | |
RGBAColor | fontColor |
The color of the font. | |
HorizontalAlignment | horizontalAlignment |
Private Member Functions | |
void | copy (const VisualStringStyle &other) |
Copy method for assignmentVisualStringStyleoperator and copy constructor. |
Definition of a style for a string (text).
Constructor.
Destructor.
VisualStringStyle::VisualStringStyle | ( | const VisualStringStyle & | other | ) |
Copy constructor.
other | Reference to another VisualStringStyle. |
VisualStringStyle * VisualStringStyle::clone | ( | void | ) | const [virtual] |
The horizontal alignment of the string.
Copies the current VisualStringStyle and returns a pointer to a new VisualStringStyle.
Implements VizKit::VisualObject.
void VisualStringStyle::copy | ( | const VisualStringStyle & | other | ) | [private] |
Copy method for assignmentVisualStringStyleoperator and copy constructor.
other | Another VisualString. |
VisualStringStyle & VisualStringStyle::operator= | ( | const VisualStringStyle & | other | ) |
Assignment operator.
other | Reference to another VisualStringStyle. |
The color of the font.
char VizKit::VisualStringStyle::fontNameStr[512] |
The name of the font.
The size of the font (in points).