Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
pt1
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe endpoint of the line that contains the decorator.
pt2
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe other endpoint of the line.
Return Value
Type: System.Single
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.