Class BaseFontStyle

java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.text.BaseFontStyle
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLFontStyleNodeType, VRMLNodeType
Direct Known Subclasses:
DefaultFontStyle, NRFontStyle, OGLFontStyle

public abstract class BaseFontStyle extends AbstractNode implements VRMLFontStyleNodeType
Scene graph representation of a font style information.

The fontstyle is a fixed, read-only node. Once created, you cannot change the fields. Thus, all field setting code will throw an exception. Because this class is fixed, once the Text node has fetched the font setup information, this class could be thrown away.

Properties

The following properties are used by this class

  • org.web3d.vrml.nodes.fontstyle.font.size The font size in points. The default value is 36 point font.

Version:
$Revision: 1.21 $
Author:
Justin Couch