Rect.

Contains(Point) Method

Summary

Determines whether a point in in the bounds of the rectangle.
Namespace
Avalonia
Containing Type
Rect

Syntax

public bool Contains(Point p)

Parameters

Name Type Description
p Point The point.

Return Value

Type Description
bool true if the point is in the bounds of the rectangle; otherwise false.