• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Drawing
      • ArcLineSegment
      • ClipPathExtensions
      • ComplexPolygon
      • CubicBezierLineSegment
      • EllipsePolygon
      • EmptyPath
      • EndCapStyle
      • ILineSegment
      • IntersectionRule
      • IPath
      • IPathCollection
      • ISimplePath
      • JointStyle
      • LinearLineSegment
      • OutlinePathExtensions
      • Path
      • PathBuilder
      • PathCollection
      • PathExtensions
      • PathTypes
      • Polygon
      • RectangularPolygon
      • RegularPolygon
      • SegmentInfo
      • Star
      • TextBuilder
    • SixLabors.ImageSharp.Drawing.PolygonClipper
      • ClippablePath
      • ClipperException
      • ClippingType
    • SixLabors.ImageSharp.Drawing.Processing
      • BrushApplicator<TPixel>
      • Brushes
      • ClearExtensions
      • ClearPathExtensions
      • ClearRectangleExtensions
      • ClipPathExtensions
      • ColorStop
      • DrawBezierExtensions
      • DrawingOptions
      • DrawingOptionsDefaultsExtensions
      • DrawLineExtensions
      • DrawPathCollectionExtensions
      • DrawPathExtensions
      • DrawPolygonExtensions
      • DrawRectangleExtensions
      • DrawTextExtensions
      • EllipticGradientBrush
      • FillExtensions
      • FillPathBuilderExtensions
      • FillPathCollectionExtensions
      • FillPathExtensions
      • FillPolygonExtensions
      • FillRectangleExtensions
      • GradientBrush
      • GradientRepetitionMode
      • IBrush
      • ImageBrush
      • IPen
      • LinearGradientBrush
      • PathGradientBrush
      • PatternBrush
      • Pen
      • Pens
      • RadialGradientBrush
      • RecolorBrush
      • ShapeGraphicOptionsDefaultsExtensions
      • ShapeOptions
      • SolidBrush
    • SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing
      • ClipPathProcessor
      • DrawPathProcessor
      • FillPathProcessor
      • FillProcessor
    • SixLabors.ImageSharp.Drawing.Processing.Processors.Text
      • DrawTextProcessor

    Class ClipPathProcessor

    Allows the recursive application of processing operations against an image within a given region.

    Inheritance
    Object
    ClipPathProcessor
    Namespace: SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing
    Assembly: SixLabors.ImageSharp.Drawing.dll
    Syntax
    public class ClipPathProcessor : IImageProcessor

    Constructors

    | Improve this Doc View Source

    ClipPathProcessor(DrawingOptions, IPath, Action<IImageProcessingContext>)

    Initializes a new instance of the ClipPathProcessor class.

    Declaration
    public ClipPathProcessor(DrawingOptions options, IPath path, Action<IImageProcessingContext> operation)
    Parameters
    Type Name Description
    DrawingOptions options

    The drawing options.

    IPath path

    The IPath defining the region to operate within.

    Action<IImageProcessingContext> operation

    The operation to perform on the source.

    Properties

    | Improve this Doc View Source

    Operation

    Gets the operation to perform on the source.

    Declaration
    public Action<IImageProcessingContext> Operation { get; }
    Property Value
    Type Description
    Action<IImageProcessingContext>
    | Improve this Doc View Source

    Options

    Gets the drawing options.

    Declaration
    public DrawingOptions Options { get; }
    Property Value
    Type Description
    DrawingOptions
    | Improve this Doc View Source

    Region

    Gets the IPath defining the region to operate within.

    Declaration
    public IPath Region { get; }
    Property Value
    Type Description
    IPath

    Methods

    | Improve this Doc View Source

    CreatePixelSpecificProcessor<TPixel>(Configuration, Image<TPixel>, Rectangle)

    Declaration
    public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle)
        where TPixel : struct, IPixel<TPixel>
    Parameters
    Type Name Description
    Configuration configuration
    Image<TPixel> source
    Rectangle sourceRectangle
    Returns
    Type Description
    IImageProcessor<TPixel>
    Type Parameters
    Name Description
    TPixel
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX