Click or drag to resize

RectangleContains Method (Int32, Int32)

Gets a value indicating that the specified x and y co-ordinates are within the bounds of this rectangle

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public bool Contains(
	int x,
	int y
)

Parameters

x
Type: SystemInt32
X co-ordinate to test
y
Type: SystemInt32
Y co-ordinate to test

Return Value

Type: Boolean
True if the rectangle contains the x and y co-ordinates, false otherwise
See Also