java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.positioning.QGeoShape
io.qt.positioning.QGeoPath
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QGeoPath extends QGeoShape implements Cloneable
Defines a geographic path
Java wrapper for Qt class QGeoPath
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QGeoPath()
QGeoPath(QGeoPath other)
QGeoPath(QGeoShape other)
protected
QGeoPath(QtObject.QPrivateConstructor p)
Constructor for internal use only.QGeoPath(Collection<QGeoCoordinate> path)
Overloaded constructor forQGeoPath(java.util.Collection, double)
withwidth = 0.0
.QGeoPath(Collection<QGeoCoordinate> path, double width)
-
Method Summary
Modifier and Type Method Description void
addCoordinate(QGeoCoordinate coordinate)
void
clearPath()
QGeoPath
clone()
boolean
containsCoordinate(QGeoCoordinate coordinate)
QGeoCoordinate
coordinateAt(int index)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
void
insertCoordinate(int index, QGeoCoordinate coordinate)
double
length()
Overloaded function forlength(int, int)
double
length(int indexFrom)
Overloaded function forlength(int, int)
withindexTo = -1
.double
length(int indexFrom, int indexTo)
QList<QGeoCoordinate>
path()
void
removeCoordinate(int index)
void
removeCoordinate(QGeoCoordinate coordinate)
void
replaceCoordinate(int index, QGeoCoordinate coordinate)
void
setPath(Collection<QGeoCoordinate> path)
void
setVariantPath(Collection<Object> path)
This property holds the list of coordinates for the geo pathvoid
setWidth(double width)
int
size()
void
translate(double degreesLatitude, double degreesLongitude)
QGeoPath
translated(double degreesLatitude, double degreesLongitude)
QList<Object>
variantPath()
This property holds the list of coordinates for the geo pathdouble
width()
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
Method Details
-
addCoordinate
-
clearPath
-
containsCoordinate
-
coordinateAt
-
insertCoordinate
-
length
public final double length(int indexFrom)Overloaded function for
length(int, int)
withindexTo = -1
. -
length
public final double length() -
length
public final double length(int indexFrom, int indexTo) -
path
-
removeCoordinate
-
removeCoordinate
public final void removeCoordinate(int index) -
replaceCoordinate
-
setPath
-
setVariantPath
This property holds the list of coordinates for the geo path
-
setWidth
-
size
public final int size() -
translate
public final void translate(double degreesLatitude, double degreesLongitude) -
translated
-
variantPath
This property holds the list of coordinates for the geo path
-
width
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-