Checks whether a given point is within the bounds.

Namespace: TreeLayoutHelper
Assembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public bool Contains(
	int x,
	int y
)
Visual Basic
Public Function Contains ( _
	x As Integer, _
	y As Integer _
) As Boolean
Visual C++
public:
bool Contains(
	int x, 
	int y
)
J#
public boolean Contains(
	int x,
	int y
)
JScript
public function Contains(
	x : int, 
	y : int
) : boolean
JavaScript
function Contains(x, y);

Parameters

x
Type: System..::..Int32
The horizontal position of the point.
y
Type: System..::..Int32
The vertical position of the point.

Return Value

A value that indicates whether the given coordinates are inside the bounds.

See Also