builtins.object Object QRegion
class QRegion(Object):
QRegion(self) -> None QRegion(self, bitmap: Union[PySide6.QtGui.QBitmap, str]) -> None QRegion(self, pa: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect], fillRule: PySide6.QtCore.Qt.FillRule = PySide6.QtCore.Qt.FillRule.OddEvenFill) -> None QRegion(self, r: PySide6.QtCore.QRect, t: PySide6.QtGui.QRegion.RegionType = PySide6.QtGui.QRegion.RegionType.Rectangle) -> None QRegion(self, region: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> None QRegion(self, x: int, y: int, w: int, h: int, t: PySide6.QtGui.QRegion.RegionType = PySide6.QtGui.QRegion.RegionType.Rectangle) -> None
Signature du constructeur | Description |
---|---|
__new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__] |
Nom de l'attribut | Valeur |
---|---|
Ellipse | PySide6.QtGui.QRegion.RegionType.Ellipse |
Rectangle | PySide6.QtGui.QRegion.RegionType.Rectangle |
Signature de l'opérateur | Description |
---|---|
__add__ | __add__(self, r: PySide6.QtCore.QRect) -> PySide6.QtGui.QRegion [extrait de __add__.__doc__] |
__and__ | __and__(self, r: PySide6.QtCore.QRect) -> PySide6.QtGui.QRegion [extrait de __and__.__doc__] |
__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__] |
__iadd__ | __iadd__(self, r: PySide6.QtCore.QRect) -> PySide6.QtGui.QRegion [extrait de __iadd__.__doc__] |
__ior__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion | __ior__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion [extrait de __ior__.__doc__] |
__isub__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion | __isub__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion [extrait de __isub__.__doc__] |
__ixor__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion | __ixor__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion [extrait de __ixor__.__doc__] |
__le__(self, value) | Return self<=value. [extrait de __le__.__doc__] |
__lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream | __lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __lshift__.__doc__] |
__lt__(self, value) | Return self<value. [extrait de __lt__.__doc__] |
__mul__(self, m: PySide6.QtGui.QTransform) -> PySide6.QtGui.QRegion | __mul__(self, m: PySide6.QtGui.QTransform) -> PySide6.QtGui.QRegion [extrait de __mul__.__doc__] |
__ne__(self, value) | Return self!=value. [extrait de __ne__.__doc__] |
__or__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion | __or__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion [extrait de __or__.__doc__] |
__radd__(self, value) | Return value+self. [extrait de __radd__.__doc__] |
__rand__(self, value) | Return value&self. [extrait de __rand__.__doc__] |
__rlshift__(self, value) | Return value<<self. [extrait de __rlshift__.__doc__] |
__rmul__(self, value) | Return value*self. [extrait de __rmul__.__doc__] |
__ror__(self, value) | Return value|self. [extrait de __ror__.__doc__] |
__rrshift__(self, value) | Return value>>self. [extrait de __rrshift__.__doc__] |
__rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream | __rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __rshift__.__doc__] |
__rsub__(self, value) | Return value-self. [extrait de __rsub__.__doc__] |
__rxor__(self, value) | Return value^self. [extrait de __rxor__.__doc__] |
__sub__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion | __sub__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion [extrait de __sub__.__doc__] |
__xor__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion | __xor__(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion [extrait de __xor__.__doc__] |
Signature de la méthode | Description |
---|---|
__bool__(self) | self != 0 [extrait de __bool__.__doc__] |
__copy__() -> None | __copy__() -> None [extrait de __copy__.__doc__] |
__repr__(self) | Return repr(self). [extrait de __repr__.__doc__] |
begin(self) -> PySide6.QtCore.QRect | begin(self) -> PySide6.QtCore.QRect [extrait de begin.__doc__] |
boundingRect(self) -> PySide6.QtCore.QRect | boundingRect(self) -> PySide6.QtCore.QRect [extrait de boundingRect.__doc__] |
cbegin(self) -> PySide6.QtCore.QRect | cbegin(self) -> PySide6.QtCore.QRect [extrait de cbegin.__doc__] |
cend(self) -> PySide6.QtCore.QRect | cend(self) -> PySide6.QtCore.QRect [extrait de cend.__doc__] |
contains | contains(self, p: PySide6.QtCore.QPoint) -> bool [extrait de contains.__doc__] |
end(self) -> PySide6.QtCore.QRect | end(self) -> PySide6.QtCore.QRect [extrait de end.__doc__] |
intersected | intersected(self, r: PySide6.QtCore.QRect) -> PySide6.QtGui.QRegion [extrait de intersected.__doc__] |
intersects | intersects(self, r: PySide6.QtCore.QRect) -> bool [extrait de intersects.__doc__] |
isEmpty(self) -> bool | isEmpty(self) -> bool [extrait de isEmpty.__doc__] |
isNull(self) -> bool | isNull(self) -> bool [extrait de isNull.__doc__] |
rectCount(self) -> int | rectCount(self) -> int [extrait de rectCount.__doc__] |
RegionType | |
setRects(self, rect: PySide6.QtCore.QRect, num: int) -> None | setRects(self, rect: PySide6.QtCore.QRect, num: int) -> None [extrait de setRects.__doc__] |
subtracted(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion | subtracted(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion [extrait de subtracted.__doc__] |
swap(self, other: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> None | swap(self, other: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> None [extrait de swap.__doc__] |
translate | translate(self, dx: int, dy: int) -> None [extrait de translate.__doc__] |
translated | translated(self, dx: int, dy: int) -> PySide6.QtGui.QRegion [extrait de translated.__doc__] |
united | united(self, r: PySide6.QtCore.QRect) -> PySide6.QtGui.QRegion [extrait de united.__doc__] |
xored(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion | xored(self, r: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> PySide6.QtGui.QRegion [extrait de xored.__doc__] |
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 :