Skip to main content
Version: 9.0.2

CONTROL:get_layer_bounds

CONTROL:get_layer_bounds()

Computes the layer-relative bounds for this control. Does not take layer scrolling offset into account.

Layer relative bounds are the resolved bounds of each parent-control accumulated.

Returns

TypeDescription
#numberThe x-coordinate of the control's layer-relative bounds.
#numberThe y-coordinate of the control's layer-relative bounds.
#numberThe width of the control's layer-relative bounds.
#numberThe height of the control's layer-relative bounds.