Grx.draw_polyline

function draw_polyline(points: Array(Grx.Point), c: Grx.Color): void {
    // Gjs wrapper for grx_draw_polyline()
}
  

Draw a multi-segment line on the current context that connects each point in the points array using the specified color.

points

an array of Grx.Point

c

the color