Grx.draw_box_with_options

function draw_box_with_options(x1: Number(gint), y1: Number(gint), x2: Number(gint), y2: Number(gint), o: Grx.LineOptions): void {
    // Gjs wrapper for grx_draw_box_with_options()
}
  

Draws a rectangle on the current context using the specified coordinates and options.

x1

the left X coordinate

y1

the top Y coordinate

x2

the right X coordinate

y2

the bottom Y coordinate

o

the options