getLayout

open fun getLayout(): Layout?

Gets the layout currently being rendered using @renderer.

Calling this function only makes sense from inside a subclass's methods, like in its draw_shape vfunc, for example.

The returned layout should not be modified while still being rendered.

Return

the layout, or null if no layout is being rendered using @renderer at this time.

Since

1.20