Class ClipPathExtensions
- Namespace
- SixLabors.ImageSharp.Drawing
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Provides extension methods to IPath that allow the clipping of shapes.
public static class ClipPathExtensions
- Inheritance
-
ClipPathExtensions
- Inherited Members
Methods
Clip(IPath, params IPath[])
Clips the specified subject path with the provided clipping paths.
public static IPath Clip(this IPath subjectPath, params IPath[] clipPaths)
Parameters
Returns
Clip(IPath, ShapeOptions, params IPath[])
Clips the specified subject path with the provided clipping paths.
public static IPath Clip(this IPath subjectPath, ShapeOptions options, params IPath[] clipPaths)
Parameters
subjectPathIPathThe subject path.
optionsShapeOptionsThe shape options.
clipPathsIPath[]The clipping paths.
Returns
Clip(IPath, ShapeOptions, IEnumerable<IPath>)
Clips the specified subject path with the provided clipping paths.
public static IPath Clip(this IPath subjectPath, ShapeOptions options, IEnumerable<IPath> clipPaths)
Parameters
subjectPathIPathThe subject path.
optionsShapeOptionsThe shape options.
clipPathsIEnumerable<IPath>The clipping paths.
Returns
Clip(IPath, IEnumerable<IPath>)
Clips the specified subject path with the provided clipping paths.
public static IPath Clip(this IPath subjectPath, IEnumerable<IPath> clipPaths)
Parameters
subjectPathIPathThe subject path.
clipPathsIEnumerable<IPath>The clipping paths.