Click or drag to resize

SizeContains Method (Int32, Int32)

Gets a value indicating that the specified x and y values are within the Width and Height of this size

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 value to test
y
Type: SystemInt32
Y value to test

Return Value

Type: Boolean
True if the x and y values are greater than or equal to 0 and less than the Width and Height of this size, respectively. False otherwise
See Also