Returns a Rect with a position being the same as the position of the given IDiagramConnectionPoint, and a size of 1 by 1. This Rect is the bounds to be taken into consideration when path finding to the given connection point.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public Rect GetCollisionBounds(
	IDiagramConnectionPoint connectionPoint
)
Visual Basic (Declaration)
Public Function GetCollisionBounds ( _
	connectionPoint As IDiagramConnectionPoint _
) As Rect

Parameters

connectionPoint
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnectionPoint
The IDiagramConnectionPoint to find the collision bounds of.

Return Value

A Rect with size 1 by 1 and the same position as the position of the given IDiagramConnectionPoint.

Implements

IDiagramConnectable..::.GetCollisionBounds(IDiagramConnectionPoint)

See Also