RectangleD::Intersect Method (RectangleD, RectangleD)

 

Returns a RectangleD structure that represents the intersection of two rectangles. If there is no intersection, null is returned.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
static RectangleD Intersect(
	RectangleD first,
	RectangleD second
)

Parameters

first
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD

A rectangle to intersect.

second
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD

A rectangle to intersect.

Return to top
Show: