Skip to content

PythonQt.QtGui.QGraphicsPathItem · declarations 001

Back to PythonQt.QtGui.QGraphicsPathItem

boundingRect

boundingRect() -> Any

X.boundingRect() -> PythonQt.QtCore.QRectF

Supplemental documentation: Qt 5 reference:

[override virtual] QRectF QGraphicsPathItem::boundingRect() const

Reimplements: QGraphicsItem::boundingRect() const.

Upstream PySide2 reference signatures (binding differences may apply):

boundingRect(self) -> PySide2.QtCore.QRectF

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#boundingRect

contains

contains(point: Any) -> bool

X.contains(point) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual] bool QGraphicsPathItem::contains(const QPointF \&point) const

Reimplements: QGraphicsItem::contains(const QPointF \&point) const.

Upstream PySide2 reference signatures (binding differences may apply):

contains(self, point: PySide2.QtCore.QPointF) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#contains

extension

extension(variant: Any) -> Any

X.extension(variant) -> object

Upstream PySide2 reference signatures (binding differences may apply):

extension(self, variant: typing.Any) -> typing.Any

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#extension

isObscuredBy

isObscuredBy(item: Any) -> bool

X.isObscuredBy(item) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual] bool QGraphicsPathItem::isObscuredBy(const QGraphicsItem *item) const

Reimplements: QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem *item) const.

Upstream PySide2 reference signatures (binding differences may apply):

isObscuredBy(self, item: PySide2.QtWidgets.QGraphicsItem) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#isObscuredBy

opaqueArea

opaqueArea() -> Any

X.opaqueArea() -> PythonQt.QtGui.QPainterPath

Supplemental documentation: Qt 5 reference:

[override virtual] QPainterPath QGraphicsPathItem::opaqueArea() const

Reimplements: QAbstractGraphicsShapeItem::opaqueArea() const.

Upstream PySide2 reference signatures (binding differences may apply):

opaqueArea(self) -> PySide2.QtGui.QPainterPath

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#opaqueArea

paint

paint(painter: Any, option: Any, widget: Any) -> None

X.paint(painter, option, widget)

Supplemental documentation: Qt 5 reference:

[override virtual] void QGraphicsPathItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget \= nullptr)

Reimplements: QGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget).

Upstream PySide2 reference signatures (binding differences may apply):

paint(self, painter: PySide2.QtGui.QPainter, option: PySide2.QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[PySide2.QtWidgets.QWidget]=...) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#paint

path

path() -> Any

X.path() -> PythonQt.QtGui.QPainterPath

Supplemental documentation: Qt 5 reference:

QPainterPath QGraphicsPathItem::path() const

Returns the item's path as a QPainterPath. If no item has been set, an empty QPainterPath is returned.

See also setPath().

Upstream PySide2 reference signatures (binding differences may apply):

path(self) -> PySide2.QtGui.QPainterPath

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#path

setPath

setPath(path: Any) -> None

X.setPath(path)

Supplemental documentation: Qt 5 reference:

void QGraphicsPathItem::setPath(const QPainterPath \&path)

Sets the item's path to be the given path.

See also path().

Upstream PySide2 reference signatures (binding differences may apply):

setPath(self, path: PySide2.QtGui.QPainterPath) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#setPath

shape

shape() -> Any

X.shape() -> PythonQt.QtGui.QPainterPath

Supplemental documentation: Qt 5 reference:

[override virtual] QPainterPath QGraphicsPathItem::shape() const

Reimplements: QGraphicsItem::shape() const.

Upstream PySide2 reference signatures (binding differences may apply):

shape(self) -> PySide2.QtGui.QPainterPath

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#shape

type

type() -> int

X.type() -> int

Supplemental documentation: Qt 5 reference:

[override virtual] int QGraphicsPathItem::type() const

Reimplements: QGraphicsItem::type() const.

Upstream PySide2 reference signatures (binding differences may apply):

type(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qgraphicspathitem.html#type