Class LineSpecification
Parametrization of a polyline geometry which allows you to use multiple Points and bridges (using the Crossings data and the BridgeType). The method uses such specifications to create a concrete geometry.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class LineSpecification
Remarks
There are a few things to consider in relation to crossings:
- None: the StartPoint and EndPoint will be used to define the start and end of the polyline. If some caps are used these points will be shifted if necessary so that the polyline makes space for the caps. This depends on the type of the cap.
- Some bridge type:the Crossings data will define the start and end points, while the StartPoint and EndPoint will be irrelevant in this case.
Constructors
LineSpecification()
Properties
BezierTension
Gets or sets the Bezier tension.
Declaration
public double BezierTension { get; set; }
Property Value
System.Double
A value or zero turns the Bezier connection into a straight line, a value of one and above increase the sharpness of the Bezier curve. |
Bounds
Gets or sets the bounds of the connection.
Declaration
public Rect Bounds { get; set; }
Property Value
Rect
|
BridgeType
Gets or sets the type of the bridge or crossing.
Declaration
public BridgeType BridgeType { get; set; }
Property Value
BridgeType
|
ConnectionType
Gets or sets the type of the connection.
Declaration
public ConnectionType ConnectionType { get; set; }
Property Value
ConnectionType
The type of the connection. |
Crossings
Gets or sets the crossings data.
Declaration
public CrossingsData Crossings { get; set; }
Property Value
CrossingsData
|
EndPoint
Gets or sets the end point.
Declaration
public Point EndPoint { get; set; }
Property Value
Point
|
Remarks
This position is with respect to the local coordinate system (of the connection).
Points
Gets or sets the intermediate connection points.
Declaration
public IList<Point> Points { get; set; }
Property Value
System.Collections.Generic.IList<Point>
|
Remarks
Do NOT include the start/end points.
RoundedCorners
Gets or sets the corners should be rounded.
Declaration
public bool RoundedCorners { get; set; }
Property Value
System.Boolean
|
StartPoint
Gets or sets the start point.
Declaration
public Point StartPoint { get; set; }
Property Value
Point
|
Remarks
This position is with respect to the local coordinate system (of the connection).