Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtPositioning »

Classe « QGeoPolygon »

Informations générales

Héritage

builtins.object
    Object
        QGeoShape
            QGeoPolygon

Définition

class QGeoPolygon(QGeoShape):

Description [extrait de QGeoPolygon.__doc__]

QGeoPolygon(self)
QGeoPolygon(self, other: PySide2.QtPositioning.QGeoPolygon)
QGeoPolygon(self, other: PySide2.QtPositioning.QGeoShape)
QGeoPolygon(self, path: typing.Sequence[PySide2.QtPositioning.QGeoCoordinate])

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
CircleTypePySide2.QtPositioning.QGeoShape.ShapeType.CircleType
PathTypePySide2.QtPositioning.QGeoShape.ShapeType.PathType
PolygonTypePySide2.QtPositioning.QGeoShape.ShapeType.PolygonType
RectangleTypePySide2.QtPositioning.QGeoShape.ShapeType.RectangleType
UnknownTypePySide2.QtPositioning.QGeoShape.ShapeType.UnknownType

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

Opérateurs hérités de la classe QGeoShape

__lshift__, __rlshift__, __rrshift__, __rshift__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
addCoordinate(self, coordinate: PySide2.QtPositioning.QGeoCoordinate) addCoordinate(self, coordinate: PySide2.QtPositioning.QGeoCoordinate) [extrait de addCoordinate.__doc__]
addHole addHole(self, holePath: typing.Sequence[PySide2.QtPositioning.QGeoCoordinate]) [extrait de addHole.__doc__]
containsCoordinate(self, coordinate: PySide2.QtPositioning.QGeoCoordinate) -> bool containsCoordinate(self, coordinate: PySide2.QtPositioning.QGeoCoordinate) -> bool [extrait de containsCoordinate.__doc__]
coordinateAt(self, index: int) -> PySide2.QtPositioning.QGeoCoordinate coordinateAt(self, index: int) -> PySide2.QtPositioning.QGeoCoordinate [extrait de coordinateAt.__doc__]
hole(self, index: int) -> typing.List[typing.Any] hole(self, index: int) -> typing.List[typing.Any] [extrait de hole.__doc__]
holePath(self, index: int) -> typing.List[PySide2.QtPositioning.QGeoCoordinate] holePath(self, index: int) -> typing.List[PySide2.QtPositioning.QGeoCoordinate] [extrait de holePath.__doc__]
holesCount(self) -> int holesCount(self) -> int [extrait de holesCount.__doc__]
insertCoordinate(self, index: int, coordinate: PySide2.QtPositioning.QGeoCoordinate) insertCoordinate(self, index: int, coordinate: PySide2.QtPositioning.QGeoCoordinate) [extrait de insertCoordinate.__doc__]
length(self, indexFrom: int = 0, indexTo: int = -1) -> float length(self, indexFrom: int = 0, indexTo: int = -1) -> float [extrait de length.__doc__]
path(self) -> typing.List[PySide2.QtPositioning.QGeoCoordinate] path(self) -> typing.List[PySide2.QtPositioning.QGeoCoordinate] [extrait de path.__doc__]
perimeter(self) -> typing.List[typing.Any] perimeter(self) -> typing.List[typing.Any] [extrait de perimeter.__doc__]
removeCoordinate removeCoordinate(self, coordinate: PySide2.QtPositioning.QGeoCoordinate) [extrait de removeCoordinate.__doc__]
removeHole(self, index: int) removeHole(self, index: int) [extrait de removeHole.__doc__]
replaceCoordinate(self, index: int, coordinate: PySide2.QtPositioning.QGeoCoordinate) replaceCoordinate(self, index: int, coordinate: PySide2.QtPositioning.QGeoCoordinate) [extrait de replaceCoordinate.__doc__]
setPath(self, path: typing.Sequence[PySide2.QtPositioning.QGeoCoordinate]) setPath(self, path: typing.Sequence[PySide2.QtPositioning.QGeoCoordinate]) [extrait de setPath.__doc__]
setPerimeter(self, path: typing.Sequence[typing.Any]) setPerimeter(self, path: typing.Sequence[typing.Any]) [extrait de setPerimeter.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
toString(self) -> str toString(self) -> str [extrait de toString.__doc__]
translate(self, degreesLatitude: float, degreesLongitude: float) translate(self, degreesLatitude: float, degreesLongitude: float) [extrait de translate.__doc__]
translated(self, degreesLatitude: float, degreesLongitude: float) -> PySide2.QtPositioning.QGeoPolygon translated(self, degreesLatitude: float, degreesLongitude: float) -> PySide2.QtPositioning.QGeoPolygon [extrait de translated.__doc__]

Méthodes héritées de la classe QGeoShape

__init_subclass__, __repr__, __subclasshook__, boundingGeoRectangle, center, contains, extendShape, isEmpty, isValid, ShapeType, type

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__