RectContains(Point) Method

Determines whether a point is in the bounds of the rectangle.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool Contains(
	Point p
)

Parameters

p  Point
The point.

Return Value

Boolean
true if the point is in the bounds of the rectangle; otherwise false.

See Also