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

Classe « QPainterPath »

Informations générales

Héritage

builtins.object
    Object
        QPainterPath

Définition

class QPainterPath(Object):

Description [extrait de QPainterPath.__doc__]

QPainterPath(self)
QPainterPath(self, other: PySide2.QtGui.QPainterPath)
QPainterPath(self, startPoint: PySide2.QtCore.QPointF)

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
CurveToDataElementPySide2.QtGui.QPainterPath.ElementType.CurveToDataElement
CurveToElementPySide2.QtGui.QPainterPath.ElementType.CurveToElement
LineToElementPySide2.QtGui.QPainterPath.ElementType.LineToElement
MoveToElementPySide2.QtGui.QPainterPath.ElementType.MoveToElement

Liste des opérateurs

Signature de l'opérateur Description
__add__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath __add__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de __add__.__doc__]
__and__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath __and__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [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__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath __iadd__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de __iadd__.__doc__]
__iand__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath __iand__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de __iand__.__doc__]
__ior__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath __ior__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de __ior__.__doc__]
__isub__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath __isub__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de __isub__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __lshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __lshift__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__mul__ __mul__(self, m: PySide2.QtGui.QMatrix) -> PySide2.QtGui.QPainterPath [extrait de __mul__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__or__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath __or__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [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: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __rshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __rshift__.__doc__]
__rsub__(self, value) Return value-self. [extrait de __rsub__.__doc__]
__sub__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath __sub__(self, other: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de __sub__.__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__(self) __copy__(self) [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
addEllipse addEllipse(self, center: PySide2.QtCore.QPointF, rx: float, ry: float) [extrait de addEllipse.__doc__]
addPath(self, path: PySide2.QtGui.QPainterPath) addPath(self, path: PySide2.QtGui.QPainterPath) [extrait de addPath.__doc__]
addPolygon(self, polygon: PySide2.QtGui.QPolygonF) addPolygon(self, polygon: PySide2.QtGui.QPolygonF) [extrait de addPolygon.__doc__]
addRect addRect(self, rect: PySide2.QtCore.QRectF) [extrait de addRect.__doc__]
addRegion(self, region: PySide2.QtGui.QRegion) addRegion(self, region: PySide2.QtGui.QRegion) [extrait de addRegion.__doc__]
addRoundedRect addRoundedRect(self, rect: PySide2.QtCore.QRectF, xRadius: float, yRadius: float, mode: PySide2.QtCore.Qt.SizeMode = PySide2.QtCore.Qt.SizeMode.AbsoluteSize) [extrait de addRoundedRect.__doc__]
addRoundRect addRoundRect(self, rect: PySide2.QtCore.QRectF, roundness: int) [extrait de addRoundRect.__doc__]
addText addText(self, point: PySide2.QtCore.QPointF, f: PySide2.QtGui.QFont, text: str) [extrait de addText.__doc__]
angleAtPercent(self, t: float) -> float angleAtPercent(self, t: float) -> float [extrait de angleAtPercent.__doc__]
arcMoveTo arcMoveTo(self, rect: PySide2.QtCore.QRectF, angle: float) [extrait de arcMoveTo.__doc__]
arcTo arcTo(self, rect: PySide2.QtCore.QRectF, startAngle: float, arcLength: float) [extrait de arcTo.__doc__]
boundingRect(self) -> PySide2.QtCore.QRectF boundingRect(self) -> PySide2.QtCore.QRectF [extrait de boundingRect.__doc__]
capacity(self) -> int capacity(self) -> int [extrait de capacity.__doc__]
clear(self) clear(self) [extrait de clear.__doc__]
closeSubpath(self) closeSubpath(self) [extrait de closeSubpath.__doc__]
connectPath(self, path: PySide2.QtGui.QPainterPath) connectPath(self, path: PySide2.QtGui.QPainterPath) [extrait de connectPath.__doc__]
contains contains(self, p: PySide2.QtGui.QPainterPath) -> bool [extrait de contains.__doc__]
controlPointRect(self) -> PySide2.QtCore.QRectF controlPointRect(self) -> PySide2.QtCore.QRectF [extrait de controlPointRect.__doc__]
cubicTo cubicTo(self, ctrlPt1: PySide2.QtCore.QPointF, ctrlPt2: PySide2.QtCore.QPointF, endPt: PySide2.QtCore.QPointF) [extrait de cubicTo.__doc__]
currentPosition(self) -> PySide2.QtCore.QPointF currentPosition(self) -> PySide2.QtCore.QPointF [extrait de currentPosition.__doc__]
Element Element(self) [extrait de Element.__doc__]
elementAt(self, i: int) -> PySide2.QtGui.QPainterPath.Element elementAt(self, i: int) -> PySide2.QtGui.QPainterPath.Element [extrait de elementAt.__doc__]
elementCount(self) -> int elementCount(self) -> int [extrait de elementCount.__doc__]
ElementType
fillRule(self) -> PySide2.QtCore.Qt.FillRule fillRule(self) -> PySide2.QtCore.Qt.FillRule [extrait de fillRule.__doc__]
intersected(self, r: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath intersected(self, r: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de intersected.__doc__]
intersects intersects(self, p: PySide2.QtGui.QPainterPath) -> bool [extrait de intersects.__doc__]
isEmpty(self) -> bool isEmpty(self) -> bool [extrait de isEmpty.__doc__]
length(self) -> float length(self) -> float [extrait de length.__doc__]
lineTo lineTo(self, p: PySide2.QtCore.QPointF) [extrait de lineTo.__doc__]
moveTo moveTo(self, p: PySide2.QtCore.QPointF) [extrait de moveTo.__doc__]
percentAtLength(self, t: float) -> float percentAtLength(self, t: float) -> float [extrait de percentAtLength.__doc__]
pointAtPercent(self, t: float) -> PySide2.QtCore.QPointF pointAtPercent(self, t: float) -> PySide2.QtCore.QPointF [extrait de pointAtPercent.__doc__]
quadTo quadTo(self, ctrlPt: PySide2.QtCore.QPointF, endPt: PySide2.QtCore.QPointF) [extrait de quadTo.__doc__]
reserve(self, size: int) reserve(self, size: int) [extrait de reserve.__doc__]
setElementPositionAt(self, i: int, x: float, y: float) setElementPositionAt(self, i: int, x: float, y: float) [extrait de setElementPositionAt.__doc__]
setFillRule(self, fillRule: PySide2.QtCore.Qt.FillRule) setFillRule(self, fillRule: PySide2.QtCore.Qt.FillRule) [extrait de setFillRule.__doc__]
simplified(self) -> PySide2.QtGui.QPainterPath simplified(self) -> PySide2.QtGui.QPainterPath [extrait de simplified.__doc__]
slopeAtPercent(self, t: float) -> float slopeAtPercent(self, t: float) -> float [extrait de slopeAtPercent.__doc__]
subtracted(self, r: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath subtracted(self, r: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de subtracted.__doc__]
subtractedInverted(self, r: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath subtractedInverted(self, r: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de subtractedInverted.__doc__]
swap(self, other: PySide2.QtGui.QPainterPath) swap(self, other: PySide2.QtGui.QPainterPath) [extrait de swap.__doc__]
toFillPolygon toFillPolygon(self, matrix: PySide2.QtGui.QMatrix = Default(QMatrix)) -> PySide2.QtGui.QPolygonF [extrait de toFillPolygon.__doc__]
toFillPolygons toFillPolygons(self, matrix: PySide2.QtGui.QMatrix = Default(QMatrix)) -> typing.List[PySide2.QtGui.QPolygonF] [extrait de toFillPolygons.__doc__]
toReversed(self) -> PySide2.QtGui.QPainterPath toReversed(self) -> PySide2.QtGui.QPainterPath [extrait de toReversed.__doc__]
toSubpathPolygons toSubpathPolygons(self, matrix: PySide2.QtGui.QMatrix = Default(QMatrix)) -> typing.List[PySide2.QtGui.QPolygonF] [extrait de toSubpathPolygons.__doc__]
translate translate(self, dx: float, dy: float) [extrait de translate.__doc__]
translated translated(self, dx: float, dy: float) -> PySide2.QtGui.QPainterPath [extrait de translated.__doc__]
united(self, r: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath united(self, r: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de united.__doc__]

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__, __setattr__, __sizeof__, __str__