Package org.web3d.x3d.sai.text
Interface Text
- All Superinterfaces:
X3DGeometryNode,X3DNode
Defines the requirements of an X3D Text node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionReturn the fontStyle X3DNode value.voidgetLength(float[] val) Return the length value in the argument float[]floatReturn the maxExtent float value.intReturn the number of MFFloat items in the length field.intReturn the number of MFString items in the string field.booleangetSolid()Return the solid boolean value.voidReturn the string value in the argument String[]voidSet the fontStyle field.voidSet the fontStyle field.voidsetLength(float[] val) Set the length field.voidsetMaxExtent(float val) Set the maxExtent field.voidsetSolid(boolean val) Set the solid field.voidSet the string field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getNumString
int getNumString()Return the number of MFString items in the string field.- Returns:
- the number of MFString items in the string field.
-
getString
Return the string value in the argument String[]- Parameters:
val- The String[] to initialize.
-
setString
-
getFontStyle
-
setFontStyle
Set the fontStyle field.- Parameters:
val- The X3DFontStyleNode to set.
-
setFontStyle
Set the fontStyle field.- Parameters:
val- The X3DProtoInstance to set.
-
getNumLength
int getNumLength()Return the number of MFFloat items in the length field.- Returns:
- the number of MFFloat items in the length field.
-
getLength
void getLength(float[] val) Return the length value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setLength
void setLength(float[] val) Set the length field.- Parameters:
val- The float[] to set.
-
getMaxExtent
float getMaxExtent()Return the maxExtent float value.- Returns:
- The maxExtent float value.
-
setMaxExtent
void setMaxExtent(float val) Set the maxExtent field.- Parameters:
val- The float to set.
-
getSolid
boolean getSolid()Return the solid boolean value.- Returns:
- The solid boolean value.
-
setSolid
void setSolid(boolean val) Set the solid field.- Parameters:
val- The boolean to set.
-