RectangleExtensionsIntersectSafe Method
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static Rectangle IntersectSafe(
this Rectangle a,
Rectangle b
)
<ExtensionAttribute>
Public Shared Function IntersectSafe (
a As Rectangle,
b As Rectangle
) As Rectangle
public:
[ExtensionAttribute]
static Rectangle IntersectSafe(
Rectangle a,
Rectangle b
)
[<ExtensionAttribute>]
static member IntersectSafe :
a : Rectangle *
b : Rectangle -> Rectangle
- a Rectangle
- The first rectangle to intersect.
- b Rectangle
- The second rectangle to intersect.
RectangleA
Rectangle that represents the intersection of
a and
b.In Visual Basic and C#, you can call this method as an instance method on any object of type
Rectangle. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).