geoPath QML Value Type
Il tipo geoPath rappresenta un percorso geografico. Maggiori informazioni...
| Import Statement: | import QtPositioning |
Proprietà
Descrizione dettagliata
Il tipo geoPath è un oggetto di tipo " geoShape " che rappresenta un percorso geografico. Si tratta di una rappresentazione diretta di un oggetto " QGeoPath " ed è definito in termini di un oggetto " path " che contiene l'elenco delle "geoCoordinates" presenti nel percorso.
Il percorso è considerato non valido se è vuoto.
In caso di integrazione con C++, si noti che qualsiasi valore di tipo ` QGeoPath ` passato a QML da C++ viene automaticamente convertito in un valore di tipo `geoPath` e viceversa.
Documentazione delle proprietà
path : list<geoCoordinate>
Questa proprietà contiene l'elenco delle coordinate che definiscono il percorso.
width : real
Questa proprietà indica la larghezza del percorso in metri. Attualmente viene utilizzata solo quando si chiama il metodo contains().
Il valore predefinito per la larghezza è 0.
© 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.