Bacon2D

Polygon QML Type

Polygon shapes are solid convex polygons. More...

Import Statement: import Bacon2D 1.0
Inherits:

Fixture

Properties

Detailed Description

A polygon is convex when all line segments connecting two points in the interior do not cross any edge of the polygon. Polygons are solid and never hollow. A polygon must have 3 or more vertices.

Property Documentation

vertices : list<QPointF>

This property holds a list of vertices that when connected define the Polygon.

The vertices will be connected in a counter clockwise direction.