VizKit  3.3.7
Public Member Functions | Public Attributes | Private Member Functions
VizKit::VisualStringStyle Class Reference

Definition of a style for a string (text). More...

#include <VisualStringStyle.h>

Inheritance diagram for VizKit::VisualStringStyle:
VizKit::VisualObject

List of all members.

Public Member Functions

 VisualStringStyle ()
 Constructor.
 ~VisualStringStyle ()
 Destructor.
 VisualStringStyle (const VisualStringStyle &other)
 Copy constructor.
VisualStringStyleoperator= (const VisualStringStyle &other)
 Assignment operator.
virtual VisualStringStyleclone (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.

Detailed Description

Definition of a style for a string (text).


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy constructor.

Parameters:
otherReference to another VisualStringStyle.

Member Function Documentation

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.

Parameters:
otherAnother VisualString.
VisualStringStyle & VisualStringStyle::operator= ( const VisualStringStyle other)

Assignment operator.

Parameters:
otherReference to another VisualStringStyle.

Member Data Documentation

The color of the font.

The name of the font.

The size of the font (in points).


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

Generated on Sun May 3 2015 20:26:31 for VizKit by doxygen 1.8.0