Contains(X,Y) Method

Class

Rectangle.

Action

Returns true if the current Rectangle contains the specified coordinates. Returns false otherwise.

Syntax

C#
public bool Contains (int x, int y)
VB
Public Function Contains (x As Integer, y As Integer) As Boolean