PortPlacementHelper.FindPerimeterRotation Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bağlantı noktasının ilk ve son sınırları verildiğinde, bileşenin çevresi ve döndürme yönü üzerinde döndürme uzaklığını bulur. Saat yönünde pozitif ve saat yönünün tersi negatif olur. Varsayım: ınitialsınır ve Finalsınırları birbirinden küçük bir Delta. Bu nedenle, iki Getkarmaşıkantsınır çağrısı arasında çağrılır
public:
virtual double FindPerimeterRotation(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD initialBounds, Microsoft::VisualStudio::Modeling::Diagrams::PortPlacement initialPlacement, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD finalBounds, Microsoft::VisualStudio::Modeling::Diagrams::PortPlacement finalPlacement);
public virtual double FindPerimeterRotation (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape parentShape, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD initialBounds, Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement initialPlacement, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD finalBounds, Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement finalPlacement);
abstract member FindPerimeterRotation : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement -> double
override this.FindPerimeterRotation : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement -> double
Public Overridable Function FindPerimeterRotation (parentShape As NodeShape, initialBounds As RectangleD, initialPlacement As PortPlacement, finalBounds As RectangleD, finalPlacement As PortPlacement) As Double
Parametreler
- parentShape
- NodeShape
- initialBounds
- RectangleD
Üst öğeye göre ilk bağlantı noktası sınırları
- initialPlacement
- PortPlacement
- finalBounds
- RectangleD
Üst öğeye göre son bağlantı noktası sınırları
- finalPlacement
- PortPlacement