SizeFContains Method (Single, Single) |
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(
float x,
float y
)
Public Function Contains (
x As Single,
y As Single
) As Boolean
member Contains :
x : float32 *
y : float32 -> bool
Parameters
- x
- Type: SystemSingle
X value to test - y
- Type: SystemSingle
Y value to test
Return Value
Type:
BooleanTrue if the
x and
y values are between 0 and the Width and Height of this size, respectively. False otherwise
See Also