l_layer_index: Get the order index of a layer among its siblings

View source: R/l_layer.R

l_layer_indexR Documentation

Get the order index of a layer among its siblings

Description

The index determines the rendering order of the children layers of a parent. The layer with index=0 is rendered first.

Usage

l_layer_index(widget, layer)

Arguments

widget

widget path or layer object of class 'l_layer'

layer

layer id. If the widget argument is of class 'l_layer' then the layer argument is not used

Details

Note that the index for layers is 0 based.

Value

numeric value

See Also

l_layer, l_layer_move


loon documentation built on July 9, 2023, 5:48 p.m.