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(
PixelRect rect
)

Parameters

  PixelRect
The other rectangle.

Return Value

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

See Also

Reference

PixelRect Structure
Avalonia Namespace