Example #1
0
 /// <summary>
 /// Returns the result of a Boolean combination of two Geometry objects.
 /// </summary>
 /// <param name="geometry1">The first Geometry object</param>
 /// <param name="geometry2">The second Geometry object</param>
 /// <param name="mode">The mode in which the objects will be combined</param>
 /// <param name="transform">A transformation to apply to the result, or null</param>
 /// <param name="tolerance">The computational error tolerance</param>
 /// <param name="type">The way the error tolerance will be interpreted - relative or absolute</param>
 public static PathGeometry Combine(
     Geometry geometry1,
     Geometry geometry2,
     GeometryCombineMode mode,
     Transform transform,
     double tolerance,
     ToleranceType type)
 {
     return(PathGeometry.InternalCombine(geometry1, geometry2, mode, transform, tolerance, type));
 }
Example #2
0
 /// <summary>
 /// Returns the result of a Boolean combination of two Geometry objects.
 /// </summary>
 /// <param name="geometry1">The first Geometry object</param>
 /// <param name="geometry2">The second Geometry object</param>
 /// <param name="mode">The mode in which the objects will be combined</param>
 /// <param name="transform">A transformation to apply to the result, or null</param>
 public static PathGeometry Combine(
     Geometry geometry1,
     Geometry geometry2,
     GeometryCombineMode mode,
     Transform transform)
 {
     return(PathGeometry.InternalCombine(
                geometry1,
                geometry2,
                mode,
                transform,
                Geometry.StandardFlatteningTolerance,
                ToleranceType.Absolute));
 }