Skip to main content

Contains(PixelPoint) Method

Determines whether a point in the bounds of the rectangle.

Definition​

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

public bool Contains(
PixelPoint p
)

Parameters​

  PixelPoint
The point.

Return Value​

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

See Also​

Reference​

PixelRect Structure
Contains Overload
Avalonia Namespace