ruby-libgd

GD::Image#filled_polygon

Draws a filled polygon.

filled_polygon(points, color)