-
-
Notifications
You must be signed in to change notification settings - Fork 314
Nodify_CircuitConnection
miroiu edited this page Dec 23, 2024
·
1 revision
Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Shape → BaseConnection → LineConnection → CircuitConnection
Represents a line that is controlled by an angle.
public class CircuitConnection : LineConnection public CircuitConnection(); protected const double Degrees = 0.017453292519943295d; Field Value
The angle of the connection in degrees.
public double Angle { 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