node_graphics_edge_path Module¶
Constants¶
-
nodeeditor.node_graphics_edge_path.EDGE_CP_ROUNDNESS= 100¶ Bezier control point distance on the line
GraphicsEdgePathBase base class¶
-
class
nodeeditor.node_graphics_edge_path.GraphicsEdgePathBase(owner: QDMGraphicsEdge)¶ Bases:
objectBase Class for calculating the graphics path to draw for an graphics Edge
-
calcPath()¶ Calculate the Direct line connection
- Returns
QPainterPathof the graphics path to draw- Return type
QPainterPathorNone
-
GraphicsEdgePathDirect class¶
-
class
nodeeditor.node_graphics_edge_path.GraphicsEdgePathDirect(owner: QDMGraphicsEdge)¶ Bases:
nodeeditor.node_graphics_edge_path.GraphicsEdgePathBaseDirect line connection Graphics Edge
-
calcPath() → PyQt5.QtGui.QPainterPath¶ Calculate the Direct line connection
- Returns
QPainterPathof the direct line- Return type
QPainterPath
-
GraphicsEdgePathBezier class¶
-
class
nodeeditor.node_graphics_edge_path.GraphicsEdgePathBezier(owner: QDMGraphicsEdge)¶ Bases:
nodeeditor.node_graphics_edge_path.GraphicsEdgePathBaseCubic line connection Graphics Edge
-
calcPath() → PyQt5.QtGui.QPainterPath¶ Calculate the cubic Bezier line connection with 2 control points
- Returns
QPainterPathof the cubic Bezier line- Return type
QPainterPath
-