QNodeEditor.graphics.edge.DirectEdgeGraphics#
- class QNodeEditor.graphics.edge.DirectEdgeGraphics(edge: Edge, theme: ~typing.Type[~QNodeEditor.themes.theme.Theme] = <class 'QNodeEditor.themes.dark.DarkTheme'>)#
Bases:
EdgeGraphicsEdge graphics with a straight line between the edge start and end point
Properties
Methods
Create a straight line 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 straight line between the edge start and end point
- Returns:
Straight line connecting start and end point
- Return type: