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

#include <VisualStringStyle.h>

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

List of all members.

Public Member Functions

 VisualStringStyle ()
 ~VisualStringStyle ()
 VisualStringStyle (const VisualStringStyle &other)
VisualStringStyleoperator= (const VisualStringStyle &other)
virtual VisualStringStyleclone (void) const

Public Attributes

char fontNameStr [512]
double fontSize
RGBAColor fontColor
HorizontalAlignment horizontalAlignment

Private Member Functions

void copy (const VisualStringStyle &other)

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 Mar 25 2012 14:27:43 for VizKit by doxygen 1.8.0