Lines
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 columns in the table corresponding to the two ends of the lines: x0, y0 and x1, y1.
The coordinates must between 0 and 1, where (0, 0) corresponds to the top left corner of the object and (1, 1) to the bottom right.
Note that this object is different from the Line object that draws 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" | |
| title | title of the object | module.source |
| 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 Lines or color list | "yelow" |
| stroke_width | stroke width in pixels | 1 |
Author
Christian Balkenius
Lund University Cognitive Science
christian.balkenius@lucs.lu.se
Files
Lines.js