GeometryCombine Method
Combines the two geometries using the specified
GeometryCombineMode and applies the specified transform to the resulting geometry.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static Geometry Combine(
Geometry geometry1,
RectangleGeometry geometry2,
GeometryCombineMode combineMode,
Transform? transform = null
)
Public Shared Function Combine (
geometry1 As Geometry,
geometry2 As RectangleGeometry,
combineMode As GeometryCombineMode,
Optional transform As Transform = Nothing
) As Geometry
static member Combine :
geometry1 : Geometry *
geometry2 : RectangleGeometry *
combineMode : GeometryCombineMode *
?transform : Transform
(* Defaults:
let _transform = defaultArg transform null
*)
-> Geometry
- 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.
Geometry