NodeShape.GetCompliantAnchorPoint(AnchorPoint, PointD, VGRoutingStyle) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Вычисляет совместимую AnchorPoint на основе параметра proposedAnchorPoint. Этот метод полностью игнорирует координаты параметра anchorPoint. Вычисления производятся на основе координат proposedAnchorPoint и anchorPoint на другом конце связи, соответствующем параметру anchorPoint.
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
Параметры
- anchorPoint
- AnchorPoint
- proposedAnchorPoint
- PointD
- routingStyle
- VGRoutingStyle