Share via


LinkShapeGeometry.CalculateRotationAngle Method

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)

Syntax

'Declaration
Public Function CalculateRotationAngle ( _
    pt1 As PointD, _
    pt2 As PointD _
) As Single
public float CalculateRotationAngle(
    PointD pt1,
    PointD pt2
)
public:
float CalculateRotationAngle(
    PointD pt1, 
    PointD pt2
)
member CalculateRotationAngle : 
        pt1:PointD * 
        pt2:PointD -> float32
public function CalculateRotationAngle(
    pt1 : PointD, 
    pt2 : PointD
) : float

Parameters

Return Value

Type: System.Single

.NET Framework Security

See Also

Reference

LinkShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace