polybar. Drawing filled polygons through joints coordinates
^image.polybar(polygon's color)[table with joints coordinates]
The method draws a polygon of specified color through joints coordinates given in the table. The last joint is automatically connected to the first one.
Example $coordinates[^table::create{x y
0 0
50 100
100 0
}]
$square[^image::create(100;100;0x000000)]
^square.polybar(0x00FF00)[$coordinates]
$response:body[^square.gif[]]
Browser will display a green isosceles triangle against black background. The table gives coordinates of triangle's vertices.