NShape Reference
Shape.FollowConnectionPointWithGluePoint Method

<< Click to Display Table of Contents >>

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

NShape Reference
Shape.FollowConnectionPointWithGluePoint Method

Previous pageReturn to chapter overviewNext page

Notifies the shape about a moved connection point.

Syntax

void FollowConnectionPointWithGluePoint(ControlPointId gluePointId, Shape connectedShape, ControlPointId connectedPointId)

Description

This function is called upon the shape, which possesses the active point of a connection. It means that the passive point (the connection point) of this connection has been moved. The function is called once for each glue point in the target shape that is connected to the moved connection point.

If the connection is a point-to-shape connection, the shape calculates the new endpoint (i.e. position of the glue point) with the help of the connected shape.

In all cases, if the glue point cannot be moved to the new required position because of constraints, the connection is dissolved.

Parameters

Name

Description

gluePointId

Id of the glue point connected to the moved control point.

connectedShape

The passive shape of the connection.

gluePointId

Id of the control point that has moved.