comp • gb.qt4 • paint • polygon

Paint.Polygon (gb.qt4)

Static Sub Polygon ( Points As Float[] )

Since 3.4

Add a closed sub-path polygon to the current path.

Points is an array of Float, each pair of value describing a point of the polygon. Consequently, the Points array must have an even number of arguments, and at least four.

The polygon is automatically closed.