l_layer_getType.RdTo see the manual page of l_layer for all the
primitive layer types.
l_layer_getType(widget, layer)
| widget | widget path or layer object of class |
|---|---|
| layer | layer id. If the widget argument is of class |
One of: 'group', 'polygon', 'text',
'line', 'rectangle', 'oval', 'points',
'texts', 'polygons', 'rectangles', 'lines' and
'scatterplot', 'histogram', 'serialaxes' and
'graph'.
For more information run: l_help("learn_R_layer")
#> [1] "rectangle"l_layer_getType(p, 'model')#> [1] "scatterplot"