Grx.user_draw_line_with_options

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

Draws a line on the current context from the starting coordinates to the ending coordinates using the specified options.

x1

starting X coordinate

y1

starting Y coordinate

x2

ending X coordinate

y2

ending Y coordinate

o

the options