Constructors
WireShape
#protected WireShape(PointF source, PointF target)
Create a wire between two parameters.
Parameters:
| source (PointF) | Source parameter. |
| target (PointF) | Target parameter. |
Properties
ShapeType
#Gets or sets the type which defines wire shapes. If unset, the fallback logic will revert to WireShapeDefault. If you assign a type, it must derive from WireShape and provide a public constructor which takes two PointF structs.
Methods
Create
#Create a new wire shape between two parameter attributes. This relies on the type assigned to the static ShapeType property.
Parameters:
| source (IParameterAttributes) | |
| target (IParameterAttributes) |
Create
#Create a new wire shape between two parameter attributes. This relies on the type assigned to the static ShapeType property.
Parameters:
| source (PointF) | |
| target (PointF) |
Draw
#public abstract void Draw(Graphics graphics, Pen edge)
Draw this shape using the given pen.
Parameters:
| graphics (Graphics) | |
| edge (Pen) |
IsCoincident
#Test whether this wire is coincident with some point within some tolerance.
Parameters:
| point (PointF) | |
| tolerance (float) |
Project
#public abstract PointF Project(PointF point)
Find the point on the wire closest to a search point.
Parameters:
| point (PointF) |