CircleShapeGeometry.DoFoldToShape Method
Calculates the point along the vector which crosses the outline of the geometry.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Overrides Function DoFoldToShape ( _
geometryHost As IGeometryHost, _
potentialPoint As PointD, _
vectorEndpoint As PointD _
) As PointD
public override PointD DoFoldToShape(
IGeometryHost geometryHost,
PointD potentialPoint,
PointD vectorEndpoint
)
public:
virtual PointD DoFoldToShape(
IGeometryHost^ geometryHost,
PointD potentialPoint,
PointD vectorEndpoint
) override
abstract DoFoldToShape :
geometryHost:IGeometryHost *
potentialPoint:PointD *
vectorEndpoint:PointD -> PointD
override DoFoldToShape :
geometryHost:IGeometryHost *
potentialPoint:PointD *
vectorEndpoint:PointD -> PointD
public override function DoFoldToShape(
geometryHost : IGeometryHost,
potentialPoint : PointD,
vectorEndpoint : PointD
) : PointD
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
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
Remarks
Calculates the point along the vector that crosses the outline of the geometry.
.NET Framework Security
- 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.