ClassOrgTreeRouter.TreeRouterBase
Base class for the Connection Routers.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public abstract class OrgTreeRouter.TreeRouterBase
Inheritance: objectOrgTreeRouter.TreeRouterBase
Derived Classes:
Constructors
TreeRouterBase()
Declaration
protected TreeRouterBase()
Properties
Connection
Gets or sets the connection.
Declaration
protected IConnection Connection { get; set; }
Property Value
ConnectionSpacing
Gets or sets the connection spacing.
Declaration
protected double ConnectionSpacing { get; set; }
Property Value
SourceInflatedRect
Gets the source inflated rectangle.
TargetInflatedRect
Gets the target inflated rectangle.
Methods
GetFirstNearPoint(Rect, IConnector)
Gets the first near point from the inflated rectangle (closest ortogonal projection).
Declaration
protected Point GetFirstNearPoint(Rect inflatedRect, IConnector connector)
Parameters
inflatedRect
The inflated rectangle.
connector
The connector.
Returns
GetRoute(IConnection, double)
Gets the route.
Declaration
public IList<Point> GetRoute(IConnection connection, double connectionSpacing)
Parameters
connection
The connection.
connectionSpacing
The connection spacing.
Returns
IList<Point>
GetRoutePoints()
Gets the route points.
GetRouterSpecificRectHorizontalPoints(bool, Rect)
Gets the router specific rectangle horizontal points.
GetRouterSpecificRectVerticalPoints(bool, Rect)
Gets the router specific rectangle vertical points.
GetUnionRectangleRoutePoints()
Gets the points between source and target point lying on a given rectangle.
Declaration
protected IList<Point> GetUnionRectangleRoutePoints()
Returns
IList<Point>
GetUnionRectangleRoutePoints(Rect, Point, Point)
Gets the route points when shapes overlap.
SetConnectorsWhenShapesOverlap()
Sets the connectors when shapes overlap.
Declaration
protected void SetConnectorsWhenShapesOverlap()
SetSourceAndTargetConnectors()
Sets the source and target connectors.
Declaration
protected abstract void SetSourceAndTargetConnectors()