RectHelper.Intersect(Rect, Rect) 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.
Returns the areas of two specified Rect values that intersect, as a new Rect. C# and Microsoft Visual Basic code should use Rect.Intersect instead.
public:
static Rect Intersect(Rect target, Rect rect);
static Rect Intersect(Rect const& target, Rect const& rect);
public static Rect Intersect(Rect target, Rect rect);
function intersect(target, rect)
Public Shared Function Intersect (target As Rect, rect As Rect) As Rect
Parameters
Returns
A Rect that represents the areas of target and rect that intersect. Can be an Empty value if there is no intersection.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för