WireShapeDefault

WireShape
public sealed class WireShapeDefault : WireShape
A shape representing a wire connecting two parameters.

Constructors

WireShapeDefault

#
public WireShapeDefault(
PointF
source,
PointF
target
)

Properties

Bounds

#
public override RectangleF Bounds { get; }
WireShape.Bounds

Source

Gets the instance ID of the source parameter.
public PointF Source { get; }
inherited fromWireShape

Spline

#
public BezierF Spline { get; }

Target

Gets the instance ID of the target parameter.
public PointF Target { get; }
inherited fromWireShape

Methods

CreateSpline

#
Create the default wire shape between two parameters.
public static BezierF CreateSpline(
PointF
source,
Source point (wire start).
PointF
target
Target point (wire end).
)

DistanceTo

#
public override float DistanceTo(
PointF
point
)

Draw

#
public override void Draw(
Graphics
graphics,
Pen
edge
)
WireShape.Draw

Intersects

#
public override bool Intersects(
RectangleF
box
)

IsCoincident

Test whether this wire is coincident with some point within some tolerance.
public bool IsCoincident(
PointF
point,
tolerance
)
inherited fromWireShape

Project

#
public override PointF Project(
PointF
point
)