NodeShapeGeometry.DoFoldToShape Method
Visual Studio 2012
Calculates the point along the vector which crosses the outline of the geometry.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
public override PointD DoFoldToShape( IGeometryHost geometryHost, PointD potentialPoint, PointD vectorEndpoint )
Parameters
- geometryHost
- Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
The instance data for the geometry.
- potentialPoint
- Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The point along the bounding rectangle to be folded in to the perimeter of the geometry.
- vectorEndpoint
- Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.