Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

FontStyle Class Reference

FontStyle node instances. More...

Inheritance diagram for FontStyle:

AbstractBase FontStyleNode Node Node List of all members.

Public Methods

 FontStyle (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.

virtual ~FontStyle () throw ()
 Destructor.

virtual const MFStringgetFamily () const throw ()
 Get the list of font families.

virtual const SFBoolgetHorizontal () const throw ()
 Get the flag indicating whether the text should be horizontal or vertical.

virtual const MFStringgetJustify () const throw ()
 Get the descriptor for the text justification.

virtual const SFStringgetLanguage () const throw ()
 Get the language code.

virtual const SFBoolgetLeftToRight () const throw ()
 Get the flag indicating whether the text should be rendered left-to-right.

virtual const SFFloatgetSize () const throw ()
 Get the size of the text.

virtual const SFFloatgetSpacing () const throw ()
 Get the spacing for the text.

virtual const SFStringgetStyle () const throw ()
 Get the style for the text.

virtual const SFBoolgetTopToBottom () const throw ()
 Get the flag indicating whether the text should be rendered top-to-bottom.


Private Attributes

MFString family
SFBool horizontal
MFString justify
SFString language
SFBool leftToRight
SFFloat size
SFFloat spacing
SFString style
SFBool topToBottom

Friends

class FontStyleClass

Detailed Description

FontStyle node instances.


Constructor & Destructor Documentation

FontStyle const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with the node instance.
scope the Scope to which the node belongs.

~FontStyle   throw () [virtual]
 

Destructor.


Member Function Documentation

const MFString & getFamily   const throw () [virtual]
 

Get the list of font families.

Returns:
an MFString containing the font families that may be used for this FontStyle.

Implements FontStyleNode.

const SFBool & getHorizontal   const throw () [virtual]
 

Get the flag indicating whether the text should be horizontal or vertical.

Returns:
TRUE if the text should be horizontal, or FALSE if the text should be vertical.

Implements FontStyleNode.

const MFString & getJustify   const throw () [virtual]
 

Get the descriptor for the text justification.

Returns:
an MFString value describing the characteristics of the text justification.

Implements FontStyleNode.

const SFString & getLanguage   const throw () [virtual]
 

Get the language code.

Returns:
the language code.

Implements FontStyleNode.

const SFBool & getLeftToRight   const throw () [virtual]
 

Get the flag indicating whether the text should be rendered left-to-right.

Returns:
TRUE if the text should be rendered left-to-right, or FALSE if the text should be rendered right-to-left.

Implements FontStyleNode.

const SFFloat & getSize   const throw () [virtual]
 

Get the size of the text.

Returns:
the size of the text.

Implements FontStyleNode.

const SFFloat & getSpacing   const throw () [virtual]
 

Get the spacing for the text.

Returns:
the spacing for the text.

Implements FontStyleNode.

const SFString & getStyle   const throw () [virtual]
 

Get the style for the text.

Returns:
an SFString descriptor of the text style.

Implements FontStyleNode.

const SFBool & getTopToBottom   const throw () [virtual]
 

Get the flag indicating whether the text should be rendered top-to-bottom.

Returns:
TRUE if the text should be rendered top-to-bottom, or FALSE if the text should be rendered bottom-to-top.

Implements FontStyleNode.