Class: Polygon

Class: Polygon#

The Polygon defines closed shapes formed of straight lines.

Note: Polygon uses counterclockwise winding (this is the default OpenGL behavior)

Attributes#

points : str The points of the Polygon are defined as a list of comma separated x,y coordinates seperated by spaces like “x1,y1 x2,y2 x3,y3” e.g. “0,0 1,2 3,5”

URI: core:Polygon

img

Parents#

Attributes#

Own#