Helper. Intersect(Rect, Rect) Method
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
A Rect that represents the areas of target and rect that intersect. Can be an Empty value if there is no intersection.
Submit and view feedback for