Class
OrgTreeRouter.DirectionalRouter

This router routes the connections when the shape layout is TreeDown, TreeUp, TreeLeft or TreeRight.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")]
public class OrgTreeRouter.DirectionalRouter : OrgTreeRouter.TreeRouterBase

Inheritance: objectOrgTreeRouter.TreeRouterBaseOrgTreeRouter.DirectionalRouter

Inherited Members OrgTreeRouter.TreeRouterBase.GetRoute(IConnection, double)OrgTreeRouter.TreeRouterBase.SetConnectorsWhenShapesOverlap()OrgTreeRouter.TreeRouterBase.GetUnionRectangleRoutePoints()OrgTreeRouter.TreeRouterBase.GetUnionRectangleRoutePoints(Rect, Point, Point)OrgTreeRouter.TreeRouterBase.GetFirstNearPoint(Rect, IConnector)OrgTreeRouter.TreeRouterBase.ConnectionSpacingOrgTreeRouter.TreeRouterBase.ConnectionOrgTreeRouter.TreeRouterBase.SourceInflatedRectOrgTreeRouter.TreeRouterBase.TargetInflatedRect

Constructors

DirectionalRouter(DirectionalRoutingSettings)

Initializes a new instance of the OrgTreeRouter.DirectionalRouter class.

Declaration

cs-api-definition
public DirectionalRouter(OrgTreeRouter.DirectionalRoutingSettings settings)

Parameters

settings

OrgTreeRouter.DirectionalRoutingSettings

The settings.

Methods

GetRoutePoints()

Gets the route points.

Declaration

cs-api-definition
protected override IList<Point> GetRoutePoints()

Returns

IList<Point>

Overrides OrgTreeRouter.TreeRouterBase.GetRoutePoints()

GetRouterSpecificRectHorizontalPoints(bool, Rect)

Gets the router specific rectangle horizontal points.

Declaration

cs-api-definition
protected override IList<Point> GetRouterSpecificRectHorizontalPoints(bool clockwise, Rect rectangle)

Parameters

clockwise

bool

If set to false returns the reversed list.

rectangle

Rect

The rectangle.

Returns

IList<Point>

Overrides OrgTreeRouter.TreeRouterBase.GetRouterSpecificRectHorizontalPoints(bool, Rect)

GetRouterSpecificRectVerticalPoints(bool, Rect)

Gets the router specific rectangle vertical points.

Declaration

cs-api-definition
protected override IList<Point> GetRouterSpecificRectVerticalPoints(bool clockwise, Rect rectangle)

Parameters

clockwise

bool

If set to false returns the reversed list.

rectangle

Rect

The rectangle.

Returns

IList<Point>

Overrides OrgTreeRouter.TreeRouterBase.GetRouterSpecificRectVerticalPoints(bool, Rect)

SetSourceAndTargetConnectors()

Sets the source and target connectors.

Declaration

cs-api-definition
protected override void SetSourceAndTargetConnectors()

Overrides OrgTreeRouter.TreeRouterBase.SetSourceAndTargetConnectors()