Skip to main content

IntersectionResult Enum

Definition​

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

Provides information about the intersection between a hit geometry and a target geometry or visual.

public enum IntersectionResult

Inheritance: Enum -> IntersectionResult

Fields​

NameDescription
EmptyThe Avalonia.Media.Geometry hit test parameter and the target visual, or geometry, do not intersect.
FullyContainsThe Avalonia.Media.Geometry hit test parameter is fully contained within the boundary of the target visual or geometry.
FullyInsideThe target geometry or visual is fully inside the hit test Avalonia.Media.Geometry.
IntersectsThe Avalonia.Media.Geometry hit test parameter and the target visual, or geometry, intersect. This means that the two elements overlap, but neither element contains the other.
NotCalculatedThe IntersectionDetail value is not calculated.

Empty Field​

The Avalonia.Media.Geometry hit test parameter and the target visual, or geometry, do not intersect.

public Avalonia.Media.IntersectionResult Empty

FullyContains Field​

The Avalonia.Media.Geometry hit test parameter is fully contained within the boundary of the target visual or geometry.

public Avalonia.Media.IntersectionResult FullyContains

FullyInside Field​

The target geometry or visual is fully inside the hit test Avalonia.Media.Geometry.

public Avalonia.Media.IntersectionResult FullyInside

Intersects Field​

The Avalonia.Media.Geometry hit test parameter and the target visual, or geometry, intersect. This means that the two elements overlap, but neither element contains the other.

public Avalonia.Media.IntersectionResult Intersects

NotCalculated Field​

The IntersectionDetail value is not calculated.

public Avalonia.Media.IntersectionResult NotCalculated