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)
- C#
- VB
- F#
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
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
.