[]
        
(Showing Draft Content)

GrapeCity.Drawing.Rectangle.Intersect

Intersect Method

Intersect(Rectangle, Rectangle)

Creates a rectangle that represents the intersetion between a and b. If there is no intersection, null is returned.

Declaration
public static Rectangle Intersect(Rectangle a, Rectangle b)
Public Shared Function Intersect(a As Rectangle, b As Rectangle) As Rectangle
Parameters
Type Name Description
Rectangle a
Rectangle b
Returns
Type Description
Rectangle

A Rectangle that represents the intersetion between a and b.