[Visual Basic]Function Contains(point As XPoint) As Boolean
Function Contains(point As PointF) As Boolean
Function Contains(point As Point) As Boolean
Function Contains(x As Float, y as Float) As Boolean
Function Contains(x As Double, y as Double) As Boolean
Function Contains(rect As XRect) As
Boolean

Params

Name

Description

rect

The rectangle to test.

point

The point to test.

x

The x coordinate of a point to test.

y

The y coordinate of a point to test.

return

Whether the provided object is contained by this one.

Notes

Determine if this rectangle contains a specified point or
rectangle.

In the case of rectangles, all four corners must be contained
for the function to return true.

If a null point or rectangle is passed this function will return
false.