java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.positioning.QGeoShape
io.qt.positioning.QGeoRectangle
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QGeoRectangle extends QGeoShape implements Cloneable
Defines a rectangular geographic area
Java wrapper for Qt class QGeoRectangle
-
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 QGeoRectangle()
QGeoRectangle(QGeoCoordinate center, double degreesWidth, double degreesHeight)
QGeoRectangle(QGeoCoordinate topLeft, QGeoCoordinate bottomRight)
QGeoRectangle(QGeoRectangle other)
QGeoRectangle(QGeoShape other)
protected
QGeoRectangle(QtObject.QPrivateConstructor p)
Constructor for internal use only.QGeoRectangle(Collection<QGeoCoordinate> coordinates)
-
Method Summary
Modifier and Type Method Description QGeoCoordinate
bottomLeft()
QGeoCoordinate
bottomRight()
QGeoRectangle
clone()
boolean
contains(QGeoRectangle rectangle)
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.void
extendRectangle(QGeoCoordinate coordinate)
int
hashCode()
double
height()
boolean
intersects(QGeoRectangle rectangle)
void
setBottomLeft(QGeoCoordinate bottomLeft)
void
setBottomRight(QGeoCoordinate bottomRight)
void
setCenter(QGeoCoordinate center)
void
setHeight(double degreesHeight)
void
setTopLeft(QGeoCoordinate topLeft)
void
setTopRight(QGeoCoordinate topRight)
void
setWidth(double degreesWidth)
QGeoCoordinate
topLeft()
QGeoCoordinate
topRight()
void
translate(double degreesLatitude, double degreesLongitude)
QGeoRectangle
translated(double degreesLatitude, double degreesLongitude)
QGeoRectangle
united(QGeoRectangle rectangle)
double
width()
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QGeoRectangle
public QGeoRectangle() -
QGeoRectangle
-
QGeoRectangle
-
QGeoRectangle
-
QGeoRectangle
-
QGeoRectangle
-
QGeoRectangle
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bottomLeft
-
bottomRight
-
contains
-
extendRectangle
-
height
-
intersects
-
setBottomLeft
-
setBottomRight
-
setCenter
-
setHeight
-
setTopLeft
-
setTopRight
-
setWidth
-
topLeft
-
topRight
-
translate
public final void translate(double degreesLatitude, double degreesLongitude) -
translated
-
united
-
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
-