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.void
getLength
(float[] val) Return the length value in the argument float[]float
Return the maxExtent float value.int
Return the number of MFFloat items in the length field.int
Return the number of MFString items in the string field.boolean
getSolid()
Return the solid boolean value.void
Return the string value in the argument String[]void
Set the fontStyle field.void
Set the fontStyle field.void
setLength
(float[] val) Set the length field.void
setMaxExtent
(float val) Set the maxExtent field.void
setSolid
(boolean val) Set the solid field.void
Set 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.
-