Sfairadora

  • Reference Guide

draw_poly_line

var_bmp <- draw_poly_line(vertices, obrys)
The var_bmp parameter is an l-value referring to a variable of the type Bitmap. The function draws a sequence of lines (a polygonal line) to the bitmap.

Parameters

var_bmp
An l-value of the type Bitmap to which the function draws.
vertices
The sequence of points to be connected by the line. Its type is Seq(Coord). For instance {{10, 10}, {10, 20}, {20, 30}, {30, 30}}.
outline
The line style of the lines.

Return Value

The return value is an l-value referring to the modified bitmap.