Share via


NodeShape.GetCompliantAnchorPoint(AnchorPoint, PointD, VGRoutingStyle) Method

Definition

Calculates compliant AnchorPoint based of the proposedAnchorPoint parameter. This method completely ignores the co-ordinates of the anchorPoint parameter. Calculations are done based on the co-ordinates of the proposedAnchorPoint and the anchorPoint at opposite end of the link corresponding to the anchorPoint parameter.

public:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::PointD GetCompliantAnchorPoint(Microsoft::VisualStudio::Modeling::Diagrams::AnchorPoint ^ anchorPoint, Microsoft::VisualStudio::Modeling::Diagrams::PointD proposedAnchorPoint, Microsoft::VisualStudio::Modeling::Diagrams::GraphObject::VGRoutingStyle routingStyle);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.PointD GetCompliantAnchorPoint (Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint anchorPoint, Microsoft.VisualStudio.Modeling.Diagrams.PointD proposedAnchorPoint, Microsoft.VisualStudio.Modeling.Diagrams.GraphObject.VGRoutingStyle routingStyle);
abstract member GetCompliantAnchorPoint : Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.GraphObject.VGRoutingStyle -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
override this.GetCompliantAnchorPoint : Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.GraphObject.VGRoutingStyle -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public Overridable Function GetCompliantAnchorPoint (anchorPoint As AnchorPoint, proposedAnchorPoint As PointD, routingStyle As VGRoutingStyle) As PointD

Parameters

anchorPoint
AnchorPoint
proposedAnchorPoint
PointD
routingStyle
VGRoutingStyle

Returns

Applies to