Skip to main content

Contains(Point) Method

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

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public bool Contains(
Point p
)

Parameters

  Point
The point.

Return Value

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

See Also

Reference

Rect Structure
Contains Overload
Avalonia Namespace