Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Calculates the rotation angle of a link shape's decorator.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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: 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.