Class Text

java.lang.Object
All Implemented Interfaces:
X3DNode, X3DGeometryNode, Text

public class Text extends X3DConcreteNode implements Text
Text is a 2D (flat) geometry node that can contain multiple lines of string values.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. Text node tooltip: [X3DGeometryNode] Text is a 2D (flat) geometry node that can contain multiple lines of string values. Layout and styling is controlled by a contained FontStyle node.
  • Hint: String (computer science) https://en.wikipedia.org/wiki/String_(computer_science)
  • Hint: full internationalization (i18n) and localization (l10n) features are available for any written language.
  • Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
  • Hint: insert a Shape node before adding geometry or Appearance.
  • Hint: for advanced extensibility, authors can substitute a type-matched ProtoInstance node (with correct containerField value) for contained node content.
  • Warning: Text node requires X3D profile='Immersive' or <component name='Text' level='1'/>

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also: