Condividi tramite


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)

Syntax

'Declaration
Public Shared Function Intersect ( _
    first As RectangleD, _
    second As RectangleD _
) As RectangleD
public static RectangleD Intersect(
    RectangleD first,
    RectangleD second
)
public:
static RectangleD Intersect(
    RectangleD first, 
    RectangleD second
)
static member Intersect : 
        first:RectangleD * 
        second:RectangleD -> RectangleD
public static function Intersect(
    first : RectangleD, 
    second : RectangleD
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

RectangleD Structure

Intersect Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace