Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function RotateOnPerimeter ( _
parentShape As NodeShape, _
childBounds As RectangleD, _
perimeterRotation As Double, _
portPlacement As PortPlacement _
) As RectangleD
'使用
Dim instance As PortPlacementHelper
Dim parentShape As NodeShape
Dim childBounds As RectangleD
Dim perimeterRotation As Double
Dim portPlacement As PortPlacement
Dim returnValue As RectangleD
returnValue = instance.RotateOnPerimeter(parentShape, _
childBounds, perimeterRotation, _
portPlacement)
public virtual RectangleD RotateOnPerimeter(
NodeShape parentShape,
RectangleD childBounds,
double perimeterRotation,
PortPlacement portPlacement
)
public:
virtual RectangleD RotateOnPerimeter(
NodeShape^ parentShape,
RectangleD childBounds,
double perimeterRotation,
PortPlacement portPlacement
)
public function RotateOnPerimeter(
parentShape : NodeShape,
childBounds : RectangleD,
perimeterRotation : double,
portPlacement : PortPlacement
) : RectangleD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- childBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
- perimeterRotation
Type: System.Double
- portPlacement
Type: Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Permissions
- 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.