PythonQt.QtGui.QGraphicsPolygonItem · declarations 001
Back to PythonQt.QtGui.QGraphicsPolygonItem
boundingRect
boundingRect() -> Any
X.boundingRect() -> PythonQt.QtCore.QRectF
Supplemental documentation: Qt 5 reference:
[override virtual] QRectF QGraphicsPolygonItem::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/qgraphicspolygonitem.html#boundingRect
contains
contains(point: Any) -> bool
X.contains(point) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QGraphicsPolygonItem::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/qgraphicspolygonitem.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/qgraphicspolygonitem.html#extension
fillRule
fillRule() -> Any
X.fillRule()
Supplemental documentation: Qt 5 reference:
Qt::FillRule QGraphicsPolygonItem::fillRule() const
Returns the fill rule of the polygon. The default fill rule is Qt::OddEvenFill.
See also setFillRule(), QPainterPath::fillRule(), and QPainter::drawPolygon().
Upstream PySide2 reference signatures (binding differences may apply):
fillRule(self) -> PySide2.QtCore.Qt.FillRule
Source: https://doc.qt.io/archives/qt-5.15/qgraphicspolygonitem.html#fillRule
isObscuredBy
isObscuredBy(item: Any) -> bool
X.isObscuredBy(item) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QGraphicsPolygonItem::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/qgraphicspolygonitem.html#isObscuredBy
opaqueArea
opaqueArea() -> Any
X.opaqueArea() -> PythonQt.QtGui.QPainterPath
Supplemental documentation: Qt 5 reference:
[override virtual] QPainterPath QGraphicsPolygonItem::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/qgraphicspolygonitem.html#opaqueArea
paint
paint(painter: Any, option: Any, widget: Any) -> None
X.paint(painter, option, widget)
Supplemental documentation: Qt 5 reference:
[override virtual] void QGraphicsPolygonItem::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/qgraphicspolygonitem.html#paint
polygon
polygon() -> Any
X.polygon() -> PythonQt.QtGui.QPolygonF
Supplemental documentation: Qt 5 reference:
QPolygonF QGraphicsPolygonItem::polygon() const
Returns the item's polygon, or an empty polygon if no polygon has been set.
See also setPolygon().
Upstream PySide2 reference signatures (binding differences may apply):
polygon(self) -> PySide2.QtGui.QPolygonF
Source: https://doc.qt.io/archives/qt-5.15/qgraphicspolygonitem.html#polygon
setFillRule
setFillRule(rule: Any) -> None
X.setFillRule(rule)
Supplemental documentation: Qt 5 reference:
void QGraphicsPolygonItem::setFillRule(Qt::FillRule rule)
Sets the fill rule of the polygon to rule. The default fill rule is Qt::OddEvenFill.
See also fillRule(), QPainterPath::fillRule(), and QPainter::drawPolygon().
Upstream PySide2 reference signatures (binding differences may apply):
setFillRule(self, rule: PySide2.QtCore.Qt.FillRule) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicspolygonitem.html#setFillRule
setPolygon
setPolygon(polygon: Any) -> None
X.setPolygon(polygon)
Supplemental documentation: Qt 5 reference:
void QGraphicsPolygonItem::setPolygon(const QPolygonF \&polygon)
Sets the item's polygon to be the given polygon.
See also polygon().
Upstream PySide2 reference signatures (binding differences may apply):
setPolygon(self, polygon: PySide2.QtGui.QPolygonF) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicspolygonitem.html#setPolygon
shape
shape() -> Any
X.shape() -> PythonQt.QtGui.QPainterPath
Supplemental documentation: Qt 5 reference:
[override virtual] QPainterPath QGraphicsPolygonItem::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/qgraphicspolygonitem.html#shape
type
type() -> int
X.type() -> int
Supplemental documentation: Qt 5 reference:
[override virtual] int QGraphicsPolygonItem::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/qgraphicspolygonitem.html#type