Skip to main content

Contains(PixelRect) Method

Determines whether the rectangle fully contains another rectangle.

Definition​

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

public bool Contains(
PixelRect r
)

Parameters​

  PixelRect
The rectangle.

Return Value​

Boolean
true if the rectangle is fully contained; otherwise false.

See Also​

Reference​

PixelRect Structure
Contains Overload
Avalonia Namespace