Grx.draw_vline

function draw_vline(x: Number(gint), y1: Number(gint), y2: Number(gint), c: Grx.Color): void {
    // Gjs wrapper for grx_draw_vline()
}
  

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

This is more efficient that using Grx.draw_line.

x

X coordinate

y1

starting Y coordinate

y2

ending Y coordinate

c

the color