Share via


PortMovementRule.GetCompliantBounds(ShapeElement, RectangleD) Method

Definition

Calculates the compliant bounds for the port perimeter.

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetCompliantBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD proposedBounds);
public override Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetCompliantBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD proposedBounds);
override this.GetCompliantBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overrides Function GetCompliantBounds (shape As ShapeElement, proposedBounds As RectangleD) As RectangleD

Parameters

shape
ShapeElement
proposedBounds
RectangleD

Returns

Applies to