Skip to content

PythonQt.QtGui.QGraphicsEllipseItem · declarations 001

Back to PythonQt.QtGui.QGraphicsEllipseItem

boundingRect

boundingRect() -> Any

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

Supplemental documentation: Qt 5 reference:

[override virtual] QRectF QGraphicsEllipseItem::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/qgraphicsellipseitem.html#boundingRect

brush

brush() -> Any

X.brush() -> PythonQt.QtGui.QBrush

contains

contains(point: Any) -> bool

X.contains(point) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual] bool QGraphicsEllipseItem::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/qgraphicsellipseitem.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/qgraphicsellipseitem.html#extension

isObscuredBy

isObscuredBy(item: Any) -> bool

X.isObscuredBy(item) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual] bool QGraphicsEllipseItem::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/qgraphicsellipseitem.html#isObscuredBy

opaqueArea

opaqueArea() -> Any

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

Supplemental documentation: Qt 5 reference:

[override virtual] QPainterPath QGraphicsEllipseItem::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/qgraphicsellipseitem.html#opaqueArea

paint

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

X.paint(painter, option, widget)

Supplemental documentation: Qt 5 reference:

[override virtual] void QGraphicsEllipseItem::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/qgraphicsellipseitem.html#paint

pen

pen() -> Any

X.pen() -> PythonQt.QtGui.QPen

rect

rect() -> Any

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

Supplemental documentation: Qt 5 reference:

QRectF QGraphicsEllipseItem::rect() const

Returns the item's ellipse geometry as a QRectF.

See also setRect() and QPainter::drawEllipse().

Upstream PySide2 reference signatures (binding differences may apply):

rect(self) -> PySide2.QtCore.QRectF

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsellipseitem.html#rect

setBrush

setBrush(brush: Any) -> Any

X.setBrush(brush)

setPen

setPen(pen: Any) -> Any

X.setPen(pen)

setRect

setRect(x: Any, y: Any, w: Any, h: Any) -> None

X.setRect(x, y, w, h)

Supplemental documentation: Qt 5 reference:

void QGraphicsEllipseItem::setRect(qreal x, qreal y, qreal width, qreal height)

Sets the item's rectangle to the rectangle defined by (x, y) and the given width and height.

This convenience function is equivalent to calling setRect(QRectF(x, y, width, height))

See also rect().

void QGraphicsEllipseItem::setRect(const QRectF \&rect)

Sets the item's ellipse geometry to rect. The rectangle's left edge defines the left edge of the ellipse, and the rectangle's top edge describes the top of the ellipse. The height and width of the rectangle describe the height and width of the ellipse.

See also rect() and QPainter::drawEllipse().

Upstream PySide2 reference signatures (binding differences may apply):

setRect(self, rect: PySide2.QtCore.QRectF) -> None
setRect(self, x: float, y: float, w: float, h: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsellipseitem.html#setRect

setSpanAngle

setSpanAngle(angle: int) -> None

X.setSpanAngle(angle)

Supplemental documentation: Qt 5 reference:

void QGraphicsEllipseItem::setSpanAngle(int angle)

Sets the span angle for an ellipse segment to angle, which is in 16ths of a degree. This angle is used together with startAngle() to represent an ellipse segment (a pie). By default, the span angle is 5760 (360 * 16, a full ellipse).

See also spanAngle(), setStartAngle(), and QPainter::drawPie().

Upstream PySide2 reference signatures (binding differences may apply):

setSpanAngle(self, angle: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsellipseitem.html#setSpanAngle

setStartAngle

setStartAngle(angle: int) -> None

X.setStartAngle(angle)

Supplemental documentation: Qt 5 reference:

void QGraphicsEllipseItem::setStartAngle(int angle)

Sets the start angle for an ellipse segment to angle, which is in 16ths of a degree. This angle is used together with spanAngle() for representing an ellipse segment (a pie). By default, the start angle is 0.

See also startAngle(), setSpanAngle(), and QPainter::drawPie().

Upstream PySide2 reference signatures (binding differences may apply):

setStartAngle(self, angle: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsellipseitem.html#setStartAngle

shape

shape() -> Any

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

Supplemental documentation: Qt 5 reference:

[override virtual] QPainterPath QGraphicsEllipseItem::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/qgraphicsellipseitem.html#shape

spanAngle

spanAngle() -> int

X.spanAngle() -> int

Supplemental documentation: Qt 5 reference:

int QGraphicsEllipseItem::spanAngle() const

Returns the span angle of an ellipse segment in 16ths of a degree. This angle is used together with startAngle() for representing an ellipse segment (a pie). By default, this function returns 5760 (360 * 16, a full ellipse).

See also setSpanAngle() and startAngle().

Upstream PySide2 reference signatures (binding differences may apply):

spanAngle(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsellipseitem.html#spanAngle

startAngle

startAngle() -> int

X.startAngle() -> int

Supplemental documentation: Qt 5 reference:

int QGraphicsEllipseItem::startAngle() const

Returns the start angle for an ellipse segment in 16ths of a degree. This angle is used together with spanAngle() for representing an ellipse segment (a pie). By default, the start angle is 0.

See also setStartAngle() and spanAngle().

Upstream PySide2 reference signatures (binding differences may apply):

startAngle(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsellipseitem.html#startAngle

type

type() -> int

X.type() -> int

Supplemental documentation: Qt 5 reference:

[override virtual] int QGraphicsEllipseItem::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/qgraphicsellipseitem.html#type