LinkShapeGeometry.CalculateRotationAngle(PointD, PointD) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates the rotation angle of a link shape's decorator.
public:
float CalculateRotationAngle(Microsoft::VisualStudio::Modeling::Diagrams::PointD pt1, Microsoft::VisualStudio::Modeling::Diagrams::PointD pt2);
public float CalculateRotationAngle (Microsoft.VisualStudio.Modeling.Diagrams.PointD pt1, Microsoft.VisualStudio.Modeling.Diagrams.PointD pt2);
member this.CalculateRotationAngle : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> single
Public Function CalculateRotationAngle (pt1 As PointD, pt2 As PointD) As Single
Parameters
- pt1
- PointD
The endpoint of the line that contains the decorator.
- pt2
- PointD
The other endpoint of the line.
Returns
The rotation angle of a link shape's decorator.