Lines
The Lines object is deprecated in version 1.4. Use the new object Path instead. The same data can be used and the only necessary change is to use the class "Path" instead of "Lines"
The Lines object draws one or several lines where each line is specified in a single row of a matrix. The coordinates of the vertices are listed sequentially in each row as x0, y0, x1, y1. One line will be drawn for each row in the matrix.
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.
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