Line

UI Object that displays a nunber of line that are independently specified. The source data must be a table with four columns for the x and y coodinates of vertices of the line. There must be at least four rows in the table corresponding to the two ends of the lines: x0, y0 and x1, y1.

Note that this object is different from the Line object that draw a series of connected lines.

Example XML definition

  <object
    class="Lines" 
    module="MY_MODULE"
    source="MY_OUTPUT"
    x="0"
    y="0" 
  />

Attributes

Attribute Description Default
class must be "Lines"  
x placement of the object  
y placement of the object  
w width of the object 1
h height of the object 1
module name of the module to be visualized  
source name of the output to be visualized  
color color of the Line "yelow"
stroke_width stroke width in pixels 1

Author

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

Files

Lines.js