Skip to content

PythonQt.Qt.QPainterPath__Element

QPainterPath__Element

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

Once a QPainterPath object is constructed, subpaths like lines and curves can be added to the path (creating QPainterPath::LineToElement and QPainterPath::CurveToElement components).

The lines and curves stretch from the currentPosition() to the position passed as argument. The currentPosition() of the QPainterPath object is always the end position of the last subpath that was added (or the initial start point). The moveTo() function can be used to move the currentPosition() without adding a line or curve, creating a QPainterPath::MoveToElement component.

Source: https://doc.qt.io/archives/qt-5.15/qpainterpath-element.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
isCurveTo function (self) -> bool X.isCurveTo() -> bool
isLineTo function (self) -> bool X.isLineTo() -> bool
isMoveTo function (self) -> bool X.isMoveTo() -> bool
operator_cast_QPointF function (self) -> Any X.operator_cast_QPointF() -> PythonQt.QtCore.QPointF
type attribute Any (shared captured text)
x attribute Any (shared captured text)
y attribute Any (shared captured text)