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"  
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, if any  
source name of the output to be visualized, if any  
color color of the circle(s) or list of colors "yelow"
size radius of the circles(s) in fraction of total view size (0.0-1.0) 0.1
min minimum value for x and y dimensions 0
max maximum value for x and y dimensions 1
min_x minimum value for x dimensions min
max_x maximum value for x dimensions max
min_y minimum value for y dimensions min
max_y maximum value for y dimensions max
flip_y_axis draw upside down no
stroke_width stroke width in pixels 3

Author

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

Files

Circle.js