Class OrgTreeRouter.DirectionalRouter
This router routes the connections when the shape layout is TreeDown, TreeUp, TreeLeft or TreeRight.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class DirectionalRouter : OrgTreeRouter.TreeRouterBase
Constructors
DirectionalRouter(OrgTreeRouter.DirectionalRoutingSettings)
Initializes a new instance of the OrgTreeRouter.DirectionalRouter class.
Declaration
public DirectionalRouter(OrgTreeRouter.DirectionalRoutingSettings settings)
Parameters
OrgTreeRouter.DirectionalRoutingSettings
settings
The settings. |
Methods
GetRoutePoints()
Gets the route points.
Declaration
protected override IList<Point> GetRoutePoints()
Returns
System.Collections.Generic.IList<System.Windows.Point>
|
Overrides
GetRouterSpecificRectHorizontalPoints(Boolean, Rect)
Gets the router specific rectangle horizontal points.
Declaration
protected override IList<Point> GetRouterSpecificRectHorizontalPoints(bool clockwise, Rect rectangle)
Parameters
System.Boolean
clockwise
If set to |
System.Windows.Rect
rectangle
The rectangle. |
Returns
System.Collections.Generic.IList<System.Windows.Point>
|
Overrides
GetRouterSpecificRectVerticalPoints(Boolean, Rect)
Gets the router specific rectangle vertical points.
Declaration
protected override IList<Point> GetRouterSpecificRectVerticalPoints(bool clockwise, Rect rectangle)
Parameters
System.Boolean
clockwise
If set to |
System.Windows.Rect
rectangle
The rectangle. |
Returns
System.Collections.Generic.IList<System.Windows.Point>
|
Overrides
SetSourceAndTargetConnectors()
Sets the source and target connectors.
Declaration
protected override void SetSourceAndTargetConnectors()