RectangleD.Intersect Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Intersect(RectangleD) |
Remplace cette structure RectangleD par l'intersection entre celle-ci et la structure RectangleD spécifiée. |
| Intersect(RectangleD, RectangleD) |
Retourne une structure RectangleD qui représente l'intersection de deux rectangles. S'il n'y a pas d'intersection, Null est retourné. |
Intersect(RectangleD)
Remplace cette structure RectangleD par l'intersection entre celle-ci et la structure RectangleD spécifiée.
public:
void Intersect(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD rectangle);
public void Intersect (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD rectangle);
member this.Intersect : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
Public Sub Intersect (rectangle As RectangleD)
Paramètres
- rectangle
- RectangleD
Rectangle faisant l’objet d’une intersection.
S’applique à
Intersect(RectangleD, RectangleD)
Retourne une structure RectangleD qui représente l'intersection de deux rectangles. S'il n'y a pas d'intersection, Null est retourné.
public:
static Microsoft::VisualStudio::Modeling::Diagrams::RectangleD Intersect(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD first, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD second);
public static Microsoft.VisualStudio.Modeling.Diagrams.RectangleD Intersect (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD first, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD second);
static member Intersect : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Shared Function Intersect (first As RectangleD, second As RectangleD) As RectangleD
Paramètres
- first
- RectangleD
Rectangle faisant l'objet d'une intersection.
- second
- RectangleD
Rectangle faisant l'objet d'une intersection.
Retours
Troisième structure RectangleD dont la taille représente la zone de chevauchement des deux rectangles spécifiés.