Skip to main content

Contains(Rect) Method

Determines whether the rectangle fully contains another rectangle.

Definition​

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

public bool Contains(
Rect r
)

Parameters​

  Rect
The rectangle.

Return Value​

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

See Also​

Reference​

Rect Structure
Contains Overload
Avalonia Namespace