Loon's displays that are based on Cartesian coordinates (i.e.
scatterplot, histogram and graph display) allow for layering visual
information including polygons, text and rectangles.
Usage
l_layer_rectangle(
widget,
x,
y,
color = "gray80",
linecolor = "black",
linewidth = 1,
label = "rectangle",
parent = "root",
index = 0,
...
)
Value
layer object handle, layer id
Arguments
widget
widget path name as a string
x
x coordinates
y
y coordinates
color
fill color, if empty string "", then the fill is transparant
linecolor
outline color
linewidth
linewidth of outline
label
label used in the layers inspector
parent
group layer
index
of the newly added layer in its parent group
...
additional state initialization arguments, see
l_info_states