Returns the Point that lies on this DiagramConnectionSegment that is the closest
point to the given one. The returned Point will have integer precision values.
Namespace:
Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public Point GetClosestPointTo( Point point, double buffer ) |
Visual Basic (Declaration) |
---|
Public Function GetClosestPointTo ( _ point As Point, _ buffer As Double _ ) As Point |
Parameters
- point
- Type: System.Windows..::.Point
some Point.
- buffer
- Type: System..::.Double
The region from each end of this segment where a connection mounted connection point can not be situated.