get_pygfx_render_area#

Figure.get_pygfx_render_area(*args)[source]#

Get 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[float, float, float, float]