NShape Reference
Shape.CalculateConnectionFoot Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > Shape Class >

NShape Reference
Shape.CalculateConnectionFoot Method

Previous pageReturn to chapter overviewNext page

Calculates the foot of a connection.

Syntax

public abstract Point CalculateConnectionFoot(int fromX, int fromY)

Description

Calculates the intersection point of the shape's outline with the line between the given coordinates and the shape's balance point. This method is used to determine the foot of a shape-to-shape connection.

Parameters

Name

Description

fromX, fromY

Start point of the connection.

Return Value

Absolute coordinates of the point defined by relativePosition.

Exceptions

None