Text

UI object that displays a text.

the text object
Example Text Objects.

The text object draws a text and can be used for comments or instruction about other UI objects.

Line breaks must be supplied explicitly to break a line in the text object using a slash '/'. For example, "This text is the text/in the box" will be drawn in two lines.

Example XML definitions

  <object class="Text" text="This is the text to draw" x="0" y="0" />

Example of text with a name which is draw in several lines:

  <object
    class="Text"
    name = "Title of the text"
    text="This is the text/to be draw in/four different/lines"
    x="0"
    y="0"
  />

Attributes

Attribute Description Default
class must be "Text"  
x placement of the object  
y placement of the object  
w width of the object 1
h height of the object 1
text name of the output to be visualized  
title title of the object -
frame 'visible' or 'none' 'none'
Attributes without default values must be specified.

Author

Christian Balkenius
Lund University Cognitive Science
christian.balkenius@lucs.lu.se

Files

Text.js