PortPlacementHelper.RotateOnPerimeter Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overridable Function RotateOnPerimeter ( _
parentShape As NodeShape, _
childBounds As RectangleD, _
perimeterRotation As Double, _
portPlacement As PortPlacement _
) As RectangleD
public virtual RectangleD RotateOnPerimeter(
NodeShape parentShape,
RectangleD childBounds,
double perimeterRotation,
PortPlacement portPlacement
)
public:
virtual RectangleD RotateOnPerimeter(
NodeShape^ parentShape,
RectangleD childBounds,
double perimeterRotation,
PortPlacement portPlacement
)
abstract RotateOnPerimeter :
parentShape:NodeShape *
childBounds:RectangleD *
perimeterRotation:float *
portPlacement:PortPlacement -> RectangleD
override RotateOnPerimeter :
parentShape:NodeShape *
childBounds:RectangleD *
perimeterRotation:float *
portPlacement:PortPlacement -> RectangleD
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
.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.