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 « QPainterPath »

Informations générales

Héritage

builtins.object
    Object
        QPainterPath

Définition

class QPainterPath(Object):

Description [extrait de QPainterPath.__doc__]

QPainterPath(self) -> None
QPainterPath(self, other: PySide6.QtGui.QPainterPath) -> None
QPainterPath(self, startPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> 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 attributs statiques

Nom de l'attribut Valeur
CurveToDataElementPySide6.QtGui.QPainterPath.ElementType.CurveToDataElement
CurveToElementPySide6.QtGui.QPainterPath.ElementType.CurveToElement
LineToElementPySide6.QtGui.QPainterPath.ElementType.LineToElement
MoveToElementPySide6.QtGui.QPainterPath.ElementType.MoveToElement

Liste des opérateurs

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