Circle

UI Object that displays one or several circles. This object is typically used as an overlay for an image.

If no data source is specified, a single circle will be drawn in the center of the frame. If a data source is defined it will be used to set the center of one or several circles. The positions must be between 0 and 1.

The different circles can be given different colors by specifying a list of colors or a color table for the color attribute.

the circle object
Example Circle Views

Example XML definition

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

Attributes

Attribute Description Default
class must be "Circle"  
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, if any  
source name of the output to be visualized, if any  
color color of the circle(s) "yelow"
size size of the circles(s) in fraction of total view size (0.0-1.0) 0.1
stroke_width stroke width in pixels 3

Author

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

Files

Circle.js