get_pygfx_render_area#

Figure.get_pygfx_render_area(*args)[source]#

Fet rect for the portion of the canvas that the pygfx renderer draws to, i.e. non-imgui, part of canvas

Returns:

x_pos, y_pos, width, height

Return type:

tuple[int, int, int, int]