PortMovementRule.GetCompliantBounds(ShapeElement, RectangleD) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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