-
-
Notifications
You must be signed in to change notification settings - Fork 288
Nodify_StepConnection
miroiu edited this page Dec 23, 2024
·
1 revision
Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Shape → BaseConnection → LineConnection → StepConnection
References: ConnectorPosition
public class StepConnection : LineConnection public StepConnection(); Gets or sets the position of the source connector.
public ConnectorPosition SourcePosition { get; set; } Property Value
Gets or sets the position of the target connector.
public ConnectorPosition TargetPosition { get; set; } Property Value
protected override void DrawDirectionalArrowsGeometry(StreamGeometryContext context, Point source, Point target); Parameters
context StreamGeometryContext
source Point
target 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>>
protected override Point GetTextPosition(FormattedText text, Point source, Point target); Parameters
text FormattedText
source Point
target Point
Returns