java.lang.Object
io.qt.QtObject
io.qt.positioning.QGeoShape
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QGeoCircle
,QGeoPath
,QGeoPolygon
,QGeoRectangle
Defines a geographic area
Java wrapper for Qt's class QGeoShape
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QGeoRectangle
final QGeoCoordinate
center()
clone()
final boolean
contains
(QGeoCoordinate coordinate) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final void
extendShape
(QGeoCoordinate coordinate) final QGeoShape.ShapeType
getType()
Kotlin property getter.int
hashCode()
final boolean
isEmpty()
final boolean
isValid()
void
readFrom
(QDataStream stream) toString()
final QGeoShape.ShapeType
type()
void
writeTo
(QDataStream stream) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QGeoShape
public QGeoShape() -
QGeoShape
-
QGeoShape
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
boundingGeoRectangle
-
center
-
contains
-
extendShape
-
isEmpty
-
isValid
-
writeTo
-
assign
-
readFrom
-
toString
-
getType
Kotlin property getter. In Java use
type()
instead. -
type
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-