Sdílet prostřednictvím


Rectangle.Intersect – metoda (Rectangle, Rectangle)

Vytvoří obdélník představující intersetion mezi a b.Pokud neexistuje průsečík, je vrácena hodnota null.

Obor názvů:  Microsoft.VisualStudio.TestTools.UITest.Input
Sestavení:  Microsoft.VisualStudio.TestTools.UITest.Extension (v Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Deklarace
Public Shared Function Intersect ( _
    a As Rectangle, _
    b As Rectangle _
) As Rectangle
public static Rectangle Intersect(
    Rectangle a,
    Rectangle b
)
public:
static Rectangle Intersect(
    Rectangle a, 
    Rectangle b
)
static member Intersect : 
        a:Rectangle * 
        b:Rectangle -> Rectangle
public static function Intersect(
    a : Rectangle, 
    b : Rectangle
) : Rectangle

Parametry

Vrácená hodnota

Typ: Microsoft.VisualStudio.TestTools.UITest.Input.Rectangle

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

Rectangle Struktura

Intersect – přetížení

Microsoft.VisualStudio.TestTools.UITest.Input – obor názvů