Skip to content

Nodify_StepConnection

miroiu edited this page Dec 23, 2024 · 1 revision

StepConnection Class

Namespace: Nodify

Assembly: Nodify

Inheritance: ObjectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementShapeBaseConnectionLineConnectionStepConnection

References: ConnectorPosition

public class StepConnection : LineConnection  

Constructors

StepConnection()

public StepConnection();  

Properties

SourcePosition

Gets or sets the position of the source connector.

public ConnectorPosition SourcePosition { get; set; }  

Property Value

ConnectorPosition

TargetPosition

Gets or sets the position of the target connector.

public ConnectorPosition TargetPosition { get; set; }  

Property Value

ConnectorPosition

Methods

DrawDirectionalArrowsGeometry(StreamGeometryContext, Point, Point)

protected override void DrawDirectionalArrowsGeometry(StreamGeometryContext context, Point source, Point target);  

Parameters

context StreamGeometryContext

source Point

target Point

DrawLineGeometry(StreamGeometryContext, Point, Point)

protected override ValueTuple<ValueTuple<Point, Point>, ValueTuple<Point, Point>> DrawLineGeometry(StreamGeometryContext context, Point source, Point target);  

Parameters

context StreamGeometryContext

source Point

target Point

Returns

ValueTuple<ValueTuple<Point, Point>, ValueTuple<Point, Point>>

GetTextPosition(FormattedText, Point, Point)

protected override Point GetTextPosition(FormattedText text, Point source, Point target);  

Parameters

text FormattedText

source Point

target Point

Returns

Point

Clone this wiki locally