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 « PySide6.QtGui »

Classe « QPolygon »

Informations générales

Héritage

builtins.object
    Object
        QPolygon

Définition

class QPolygon(Object):

Description [extrait de QPolygon.__doc__]

QPolygon(self) -> None
QPolygon(self, QPolygon: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> None
QPolygon(self, r: PySide6.QtCore.QRect, closed: bool = False) -> None
QPolygon(self, v: Sequence[PySide6.QtCore.QPoint]) -> None

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__]

Liste des opérateurs

Signature de l'opérateur Description
__add__(self, l: Sequence[PySide6.QtCore.QPoint]) -> List[PySide6.QtCore.QPoint] __add__(self, l: Sequence[PySide6.QtCore.QPoint]) -> List[PySide6.QtCore.QPoint] [extrait de __add__.__doc__]
__delitem__(self, key) Delete self[key]. [extrait de __delitem__.__doc__]
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__getitem__(self, key) Return self[key]. [extrait de __getitem__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lshift__ __lshift__(self, arg__1: PySide6.QtCore.QPoint) -> None [extrait de __lshift__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__mul__(self, m: PySide6.QtGui.QTransform) -> PySide6.QtGui.QPolygon __mul__(self, m: PySide6.QtGui.QTransform) -> PySide6.QtGui.QPolygon [extrait de __mul__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__radd__(self, value) Return value+self. [extrait de __radd__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rmul__(self, value) Return value*self. [extrait de __rmul__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, stream: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __rshift__(self, stream: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __rshift__.__doc__]
__setitem__(self, key, value) Set self[key] to value. [extrait de __setitem__.__doc__]

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__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__len__(self) Return len(self). [extrait de __len__.__doc__]
__reduce__(self) -> object __reduce__(self) -> object [extrait de __reduce__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
append append(self, arg__1: PySide6.QtCore.QPoint) -> None [extrait de append.__doc__]
at(self, i: int) -> PySide6.QtCore.QPoint at(self, i: int) -> PySide6.QtCore.QPoint [extrait de at.__doc__]
back(self) -> PySide6.QtCore.QPoint back(self) -> PySide6.QtCore.QPoint [extrait de back.__doc__]
boundingRect(self) -> PySide6.QtCore.QRect boundingRect(self) -> PySide6.QtCore.QRect [extrait de boundingRect.__doc__]
capacity(self) -> int capacity(self) -> int [extrait de capacity.__doc__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
constData(self) -> PySide6.QtCore.QPoint constData(self) -> PySide6.QtCore.QPoint [extrait de constData.__doc__]
constFirst(self) -> PySide6.QtCore.QPoint constFirst(self) -> PySide6.QtCore.QPoint [extrait de constFirst.__doc__]
constLast(self) -> PySide6.QtCore.QPoint constLast(self) -> PySide6.QtCore.QPoint [extrait de constLast.__doc__]
containsPoint(self, pt: PySide6.QtCore.QPoint, fillRule: PySide6.QtCore.Qt.FillRule) -> bool containsPoint(self, pt: PySide6.QtCore.QPoint, fillRule: PySide6.QtCore.Qt.FillRule) -> bool [extrait de containsPoint.__doc__]
count(self) -> int count(self) -> int [extrait de count.__doc__]
data(self) -> PySide6.QtCore.QPoint data(self) -> PySide6.QtCore.QPoint [extrait de data.__doc__]
empty(self) -> bool empty(self) -> bool [extrait de empty.__doc__]
first first(self) -> PySide6.QtCore.QPoint [extrait de first.__doc__]
fromList(list: Sequence[PySide6.QtCore.QPoint]) -> List[PySide6.QtCore.QPoint] fromList(list: Sequence[PySide6.QtCore.QPoint]) -> List[PySide6.QtCore.QPoint] [extrait de fromList.__doc__]
fromVector(vector: Sequence[PySide6.QtCore.QPoint]) -> List[PySide6.QtCore.QPoint] fromVector(vector: Sequence[PySide6.QtCore.QPoint]) -> List[PySide6.QtCore.QPoint] [extrait de fromVector.__doc__]
front(self) -> PySide6.QtCore.QPoint front(self) -> PySide6.QtCore.QPoint [extrait de front.__doc__]
insert(self, arg__1: int, arg__2: PySide6.QtCore.QPoint) -> None insert(self, arg__1: int, arg__2: PySide6.QtCore.QPoint) -> None [extrait de insert.__doc__]
intersected(self, r: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> PySide6.QtGui.QPolygon intersected(self, r: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> PySide6.QtGui.QPolygon [extrait de intersected.__doc__]
intersects(self, r: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> bool intersects(self, r: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> bool [extrait de intersects.__doc__]
isEmpty(self) -> bool isEmpty(self) -> bool [extrait de isEmpty.__doc__]
isSharedWith(self, other: Sequence[PySide6.QtCore.QPoint]) -> bool isSharedWith(self, other: Sequence[PySide6.QtCore.QPoint]) -> bool [extrait de isSharedWith.__doc__]
last last(self) -> PySide6.QtCore.QPoint [extrait de last.__doc__]
length(self) -> int length(self) -> int [extrait de length.__doc__]
mid(self, pos: int, len: int = -1) -> List[PySide6.QtCore.QPoint] mid(self, pos: int, len: int = -1) -> List[PySide6.QtCore.QPoint] [extrait de mid.__doc__]
move(self, from_: int, to: int) -> None move(self, from_: int, to: int) -> None [extrait de move.__doc__]
pop_back(self) -> None pop_back(self) -> None [extrait de pop_back.__doc__]
pop_front(self) -> None pop_front(self) -> None [extrait de pop_front.__doc__]
prepend(self, arg__1: PySide6.QtCore.QPoint) -> None prepend(self, arg__1: PySide6.QtCore.QPoint) -> None [extrait de prepend.__doc__]
push_back(self, arg__1: PySide6.QtCore.QPoint) -> None push_back(self, arg__1: PySide6.QtCore.QPoint) -> None [extrait de push_back.__doc__]
push_front(self, arg__1: PySide6.QtCore.QPoint) -> None push_front(self, arg__1: PySide6.QtCore.QPoint) -> None [extrait de push_front.__doc__]
remove(self, i: int, n: int = 1) -> None remove(self, i: int, n: int = 1) -> None [extrait de remove.__doc__]
removeAll(self, arg__1: PySide6.QtCore.QPoint) -> None removeAll(self, arg__1: PySide6.QtCore.QPoint) -> None [extrait de removeAll.__doc__]
removeAt(self, i: int) -> None removeAt(self, i: int) -> None [extrait de removeAt.__doc__]
removeFirst(self) -> None removeFirst(self) -> None [extrait de removeFirst.__doc__]
removeLast(self) -> None removeLast(self) -> None [extrait de removeLast.__doc__]
removeOne(self, arg__1: PySide6.QtCore.QPoint) -> None removeOne(self, arg__1: PySide6.QtCore.QPoint) -> None [extrait de removeOne.__doc__]
reserve(self, size: int) -> None reserve(self, size: int) -> None [extrait de reserve.__doc__]
resize(self, size: int) -> None resize(self, size: int) -> None [extrait de resize.__doc__]
shrink_to_fit(self) -> None shrink_to_fit(self) -> None [extrait de shrink_to_fit.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
sliced sliced(self, pos: int) -> List[PySide6.QtCore.QPoint] [extrait de sliced.__doc__]
squeeze(self) -> None squeeze(self) -> None [extrait de squeeze.__doc__]
subtracted(self, r: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> PySide6.QtGui.QPolygon subtracted(self, r: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> PySide6.QtGui.QPolygon [extrait de subtracted.__doc__]
swap(self, other: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> None swap(self, other: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> None [extrait de swap.__doc__]
swapItemsAt(self, i: int, j: int) -> None swapItemsAt(self, i: int, j: int) -> None [extrait de swapItemsAt.__doc__]
takeAt(self, i: int) -> PySide6.QtCore.QPoint takeAt(self, i: int) -> PySide6.QtCore.QPoint [extrait de takeAt.__doc__]
toList(self) -> List[PySide6.QtCore.QPoint] toList(self) -> List[PySide6.QtCore.QPoint] [extrait de toList.__doc__]
toVector(self) -> List[PySide6.QtCore.QPoint] toVector(self) -> List[PySide6.QtCore.QPoint] [extrait de toVector.__doc__]
translate translate(self, dx: int, dy: int) -> None [extrait de translate.__doc__]
translated translated(self, dx: int, dy: int) -> PySide6.QtGui.QPolygon [extrait de translated.__doc__]
united(self, r: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> PySide6.QtGui.QPolygon united(self, r: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> PySide6.QtGui.QPolygon [extrait de united.__doc__]
value(self, i: int) -> PySide6.QtCore.QPoint value(self, i: int) -> PySide6.QtCore.QPoint [extrait de value.__doc__]

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

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

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

__dir__, __format__, __hash__, __reduce_ex__, __sizeof__, __str__