Skip to main content

GeometryCombineMode Enum

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia
public enum GeometryCombineMode

Inheritance: Enum -> GeometryCombineMode

Fields

NameDescription
ExcludeThe second region is excluded from the first. Given two geometries, A and B, the area of geometry B is removed from the area of geometry A, producing a region that is A-B.
IntersectThe two regions are combined by taking their intersection. The new area consists of the overlapping region between the two geometries.
UnionThe two regions are combined by taking the union of both. The resulting geometry is geometry A + geometry B.
XorThe two regions are combined by taking the area that exists in the first region but not the second and the area that exists in the second region but not the first. The new region consists of (A-B) + (B-A), where A and B are geometries.

Exclude Field

The second region is excluded from the first. Given two geometries, A and B, the area of geometry B is removed from the area of geometry A, producing a region that is A-B.

public Avalonia.Media.GeometryCombineMode Exclude

Intersect Field

The two regions are combined by taking their intersection. The new area consists of the overlapping region between the two geometries.

public Avalonia.Media.GeometryCombineMode Intersect

Union Field

The two regions are combined by taking the union of both. The resulting geometry is geometry A + geometry B.

public Avalonia.Media.GeometryCombineMode Union

Xor Field

The two regions are combined by taking the area that exists in the first region but not the second and the area that exists in the second region but not the first. The new region consists of (A-B) + (B-A), where A and B are geometries.

public Avalonia.Media.GeometryCombineMode Xor