Grx.draw_filled_polygon_with_pixmap
function draw_filled_polygon_with_pixmap(points: Array(Grx.Point), p: Grx.Pixmap): void { // Gjs wrapper for grx_draw_filled_polygon_with_pixmap() }
Draw a filled polygon on the current context that connects each point in the points array using the specified pixmap.
Coordinate arrays can either contain or omit the closing edge of the polygon. It will be automatically appended to the list if it is missing.
- points
an array of Grx.Point
- p
the pixmap