Class TextBlock2D

Class Hierarchy

Text Block 2D displays a small amount of text in 2D.

Inherits properties and message types from TextBlock2DMetadata.

See also TextBlock3D

Synopsis

Methods
create()

Creates an instance of TextBlock2D

setText()

Sets the value of the TextConceptMetadata.TextProperty

TextBlock2D:create(objectName)

Creates an instance of TextBlock2D.

Parameters
objectName (string)

The name of the object.

TextBlock2D:setText(value)

Sets the value of the TextConceptMetadata.TextProperty.

Parameters
value (string)

The text content that the text node renders.