public interface Text extends X3DGeometryNode
| Modifier and Type | Method and Description |
|---|---|
X3DFontStyleNode |
getFontStyle()
Provide X3DFontStyleNode instance (using a properly typed node) from inputOutput SFNode field fontStyle.
|
float[] |
getLength()
Provide array of float results within allowed range of [0,infinity) from inputOutput MFFloat field named length.
|
float[] |
getLineBounds()
Provide array of 2-tuple float results from outputOnly MFVec2f field named lineBounds.
|
float |
getMaxExtent()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named maxExtent.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float[] |
getOrigin()
Provide array of 3-tuple float results from outputOnly SFVec3f field named origin.
|
boolean |
getSolid()
Provide boolean value from initializeOnly SFBool field named solid.
|
java.lang.String[] |
getString()
Provide array of String results from inputOutput MFString field named string.
|
float[] |
getTextBounds()
Provide array of 2-tuple float results from outputOnly SFVec2f field named textBounds.
|
Text |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Text |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Text |
setFontStyle(X3DFontStyleNode newValue)
Assign X3DFontStyleNode instance (using a properly typed node) to inputOutput SFNode field fontStyle.
|
Text |
setLength(float[] newValue)
Assign float array within allowed range of [0,infinity) to inputOutput MFFloat field named length.
|
Text |
setMaxExtent(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named maxExtent.
|
Text |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Text |
setSolid(boolean newValue)
Assign boolean value to initializeOnly SFBool field named solid.
|
Text |
setString(java.lang.String[] newValue)
Assign String array to inputOutput MFString field named string.
|
Text |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DFontStyleNode getFontStyle()
Text setFontStyle(X3DFontStyleNode newValue)
newValue - is new value for the fontStyle field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getLength()
Text setLength(float[] newValue)
newValue - is new value for the length field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getLineBounds()
float getMaxExtent()
Text setMaxExtent(float newValue)
newValue - is new value for the maxExtent field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DGeometryNodegetMetadata in interface X3DNodeText setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DGeometryNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getOrigin()
boolean getSolid()
Text setSolid(boolean newValue)
newValue - is new value for the solid field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getString()
Text setString(java.lang.String[] newValue)
newValue - is new value for the string field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getTextBounds()
Text setDEF(java.lang.String newValue)
setDEF in interface X3DGeometryNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Text setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DGeometryNodesetUSE in interface X3DNodenewValue - is new value for the USE field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Text setCssClass(java.lang.String newValue)
setCssClass in interface X3DGeometryNodesetCssClass in interface X3DNodenewValue - is new value for the class field.Text - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.