geoPolygon QML Value Type
El tipo geoPolygon representa un polígono geográfico. Más información...
| Import Statement: | import QtPositioning |
Propiedades
- path : list<geoCoordinate>
Descripción detallada
El tipo geoPolygon es un objeto de tipo « geoShape » que representa un polígono geográfico. Es una representación directa de un objeto « QGeoPolygon » y se define en términos de una « path » que contiene una lista de «geoCoordinates» dentro del polígono.
El polígono se considera inválido si su trazado contiene menos de tres coordenadas.
Al integrar con C++, ten en cuenta que cualquier valor de « QGeoPolygon » pasado a QML se convierte automáticamente en un «geoPolygon», y viceversa.
Documentación de propiedades
path : list<geoCoordinate>
Esta propiedad contiene la lista de coordenadas que definen el polígono.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.