geoPolygon QML Value Type
El tipo geoPolygon representa un polígono geográfico. Más...
| Import Statement: | import QtPositioning |
Propiedades
- path : list<geoCoordinate>
Descripción detallada
El tipo geoPolygon es un geoShape que representa un polígono geográfico. Es una representación directa de QGeoPolygon y se define en términos de un path que contiene una lista de geoCoordenadas del polígono.
El polígono se considera inválido si su recorrido contiene menos de tres coordenadas.
Cuando se integre con C++, tenga en cuenta que cualquier valor de QGeoPolygon que se pase 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.