3.3 KiB
3.3 KiB
StepConnection Class
Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Shape → BaseConnection → LineConnection → StepConnection
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
TargetPosition
Gets or sets the position of the target connector.
public ConnectorPosition TargetPosition { get; set; }
Property Value
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