CircuitConnection
CircuitConnection Class
Section titled “CircuitConnection Class”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 : LineConnectionConstructors
Section titled “Constructors”CircuitConnection()
Section titled “CircuitConnection()”public CircuitConnection();Fields
Section titled “Fields”Degrees
Section titled “Degrees”protected const double Degrees = 0.017453292519943295d;Field Value
Properties
Section titled “Properties”The angle of the connection in degrees.
public double Angle { get; set; }Property Value
Methods
Section titled “Methods”DrawDirectionalArrowsGeometry(StreamGeometryContext, Point, Point)
Section titled “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)
Section titled “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)
Section titled “GetTextPosition(FormattedText, Point, Point)”protected override Point GetTextPosition(FormattedText text, Point source, Point target);Parameters
text FormattedText
source Point
target Point
Returns