Skip to main content

Intersects Method

Determines whether a rectangle intersects with this rectangle.

Definition​

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

public bool Intersects(
Rect rect
)

Parameters​

  Rect
The other rectangle.

Return Value​

Boolean
True if the specified rectangle intersects with this one; otherwise false.

See Also​

Reference​

Rect Structure
Avalonia Namespace