@@ -17,7 +17,6 @@ public static class ClipPathExtensions
1717 /// <param name="subjectPath">The subject path.</param>
1818 /// <param name="clipPaths">The clipping paths.</param>
1919 /// <returns>The clipped <see cref="IPath"/>.</returns>
20- /// <exception cref="ClipperException">Thrown when an error occurred while attempting to clip the polygon.</exception>
2120 public static IPath Clip ( this IPath subjectPath , params IPath [ ] clipPaths )
2221 => subjectPath . Clip ( ( IEnumerable < IPath > ) clipPaths ) ;
2322
@@ -28,7 +27,6 @@ public static IPath Clip(this IPath subjectPath, params IPath[] clipPaths)
2827 /// <param name="options">The shape options.</param>
2928 /// <param name="clipPaths">The clipping paths.</param>
3029 /// <returns>The clipped <see cref="IPath"/>.</returns>
31- /// <exception cref="ClipperException">Thrown when an error occurred while attempting to clip the polygon.</exception>
3230 public static IPath Clip (
3331 this IPath subjectPath ,
3432 ShapeOptions options ,
@@ -41,7 +39,6 @@ public static IPath Clip(
4139 /// <param name="subjectPath">The subject path.</param>
4240 /// <param name="clipPaths">The clipping paths.</param>
4341 /// <returns>The clipped <see cref="IPath"/>.</returns>
44- /// <exception cref="ClipperException">Thrown when an error occurred while attempting to clip the polygon.</exception>
4542 public static IPath Clip ( this IPath subjectPath , IEnumerable < IPath > clipPaths )
4643 => subjectPath . Clip ( new ShapeOptions ( ) , clipPaths ) ;
4744
@@ -52,13 +49,12 @@ public static IPath Clip(this IPath subjectPath, IEnumerable<IPath> clipPaths)
5249 /// <param name="options">The shape options.</param>
5350 /// <param name="clipPaths">The clipping paths.</param>
5451 /// <returns>The clipped <see cref="IPath"/>.</returns>
55- /// <exception cref="ClipperException">Thrown when an error occurred while attempting to clip the polygon.</exception>
5652 public static IPath Clip (
5753 this IPath subjectPath ,
5854 ShapeOptions options ,
5955 IEnumerable < IPath > clipPaths )
6056 {
61- Clipper clipper = new ( options . IntersectionRule ) ;
57+ ClippedShapeGenerator clipper = new ( options . IntersectionRule ) ;
6258
6359 clipper . AddPath ( subjectPath , ClippingType . Subject ) ;
6460 clipper . AddPaths ( clipPaths , ClippingType . Clip ) ;
0 commit comments