GeometryCombine 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) Version: 11.3.999
public static Geometry Combine(
	Geometry geometry1,
	RectangleGeometry geometry2,
	GeometryCombineMode combineMode,
	Transform? transform = null
)

Parameters

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

Return Value

Geometry

See Also