QGLPolygonF Class

A subclass of QPolygonF with better QML compatibility. More...

Header: #include <QuickGraphLib>
Inherits: QPolygonF

Note: All functions in this class are reentrant.

Public Functions

QVariant operator QVariant() const

Detailed Description

The QGLPolygonF class is implicitly shared.

Additional Python functionality

There is an additional staticmethod QGLPolygonF.fromNDArray which will convert an Nx2 ndarray into a QGLPolygonF efficiently.

See also QPolygonF.

Member Function Documentation

QVariant QGLPolygonF::operator QVariant() const

Returns the polygon as a QVariant