QNodeEditor.graphics.edge.BezierEdgeGraphics#
- class QNodeEditor.graphics.edge.BezierEdgeGraphics(edge: Edge, theme: ~typing.Type[~QNodeEditor.themes.theme.Theme] = <class 'QNodeEditor.themes.dark.DarkTheme'>)#
Bases:
EdgeGraphicsEdge graphics with a Bézier curve between edge start and end
Properties
Methods
Create a Bézier curve between the edge start and end point
- __init__(edge: Edge, theme: ~typing.Type[~QNodeEditor.themes.theme.Theme] = <class 'QNodeEditor.themes.dark.DarkTheme'>)#
Create new edge graphics.
- create_path() QPainterPath#
Create a Bézier curve between the edge start and end point
- Returns:
Bézier curve connecting start and end point
- Return type: