In questa pagina

geoPolygon QML Value Type

Il tipo geoPolygon rappresenta un poligono geografico. Per saperne di più...

Import Statement: import QtPositioning

Proprietà

  • path : list<geoCoordinate>

Descrizione dettagliata

Il tipo geoPolygon è un oggetto di tipo " geoShape " che rappresenta un poligono geografico. Si tratta di una rappresentazione diretta di un oggetto " QGeoPolygon " ed è definito in termini di un oggetto " path " che contiene un elenco di "geoCoordinates" all'interno del poligono.

Il poligono è considerato non valido se il suo percorso contiene meno di tre coordinate.

Quando si integra con C++, si noti che qualsiasi valore di tipo QGeoPolygon passato a QML viene automaticamente convertito in un geoPolygon e viceversa.

Documentazione delle proprietà

path : list<geoCoordinate>

Questa proprietà contiene l'elenco delle coordinate che definiscono il poligono.

© 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.