Text2dDesc

lumin. Text2dDesc

Text-node description with reasonable defaults for all properties,
with which clients can easily create a new text node; see
ClientVolume::createText2dNode.

Constructor

new Text2dDesc(text)

Parameters:
Name Type Description
text string

Members

advanceDirection :lumin.glyph.AdvanceDirection

Type:

characterSpacing :number

Type:
  • number

colorRGBA :vec4

Type:
  • vec4

flowDirection :lumin.text.FlowDirection

Type:

glyphHeight :number

Don't override the font's default glyph height

Type:
  • number

justification :lumin.text.Justification

Type:

lineSpacing :number

Type:
  • number

maxGlyphsPerLine :number

0 implies no limit by default

Type:
  • number

tabWidth :number

Type:
  • number

unicodeText :string

set in constructor

Type:
  • string