Skip to main content

Combine Method

Combines the two geometries using the specified GeometryCombineMode and applies the specified transform to the resulting geometry.

Definition​

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

public static Geometry Combine(
Geometry geometry1,
RectangleGeometry geometry2,
GeometryCombineMode combineMode,
Transform? transform = null
)

Parameters​

  Geometry
The first geometry to combine.
  RectangleGeometry
The second geometry to combine.
  GeometryCombineMode
One of the enumeration values that specifies how the geometries are combined.
  Transform  (Optional)
A transformation to apply to the combined geometry, or null.

Return Value​

Geometry

See Also​

Reference​

Geometry Class
Avalonia.Media Namespace