geoPolygon QML Value Type

The geoPolygon type represents a geographic polygon. 更多...

import 语句: import QtPositioning

特性

详细描述

The geoPolygon type is a geoShape that represents a geographic polygon. It is a direct representation of QGeoPolygon and is defined in terms of a path which holds a list of geoCoordinates in the polygon.

The polygon is considered invalid if its path holds less than three coordinates.

集成 C++ 时,注意任何 QGeoPolygon value passed into QML is automatically converted into a geoPolygon, and vice versa.

特性文档编制

path : list < geoCoordinate >

This property holds the list of coordinates defining the polygon.