MoveableDecoratorHostShape.CalculateCenterLocation 方法

定义

根据父形状的位置计算此主机形状的中心的新位置。

protected public:
 Microsoft::VisualStudio::Modeling::Diagrams::PointD CalculateCenterLocation();
protected internal Microsoft.VisualStudio.Modeling.Diagrams.PointD CalculateCenterLocation ();
member this.CalculateCenterLocation : unit -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Protected Friend Function CalculateCenterLocation () As PointD

返回

PointD

此主机形状的中心位置。

适用于