Grx.mouse_block

@accepts(Grx.Context, int, int, int, int)
@returns(int)
def mouse_block(context, x1, y1, x2, y2):
    # Python wrapper for grx_mouse_block()
  

Erase the cursor before drawing. Must call Grx.mouse_unblock when finished.

Normally, you don't need to call this function manually, but it can be more efficient to do so if there is a long sequence of drawing functions.

context

the target content for None for the global context

x1

the left x coordinate

y1

the top y coordinate

x2

the right x coordinate

y2

the bottom y coordinate

Returns