LinkShapeGeometry::CalculateRotationAngle Method (PointD, PointD)

 

Calculates the rotation angle of a link shape's decorator.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
float CalculateRotationAngle(
	PointD pt1,
	PointD pt2
)

Parameters

pt1
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The endpoint of the line that contains the decorator.

pt2
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The other endpoint of the line.

Return Value

Type: System::Single
Return to top
Show: