• Articles
  • API Documentation
Search Results for

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

    Class DrawPathProcessor

    Defines a processor to fill pixels withing a given IPath with the given IBrush and blending defined by the given DrawingOptions.

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

    Constructors

    | Improve this Doc View Source

    DrawPathProcessor(DrawingOptions, IPen, IPath)

    Initializes a new instance of the DrawPathProcessor class.

    Declaration
    public DrawPathProcessor(DrawingOptions options, IPen pen, IPath shape)
    Parameters
    Type Name Description
    DrawingOptions options

    The graphics options.

    IPen pen

    The details how to outline the region of interest.

    IPath shape

    The shape to be filled.

    Properties

    | Improve this Doc View Source

    Options

    Gets the DrawingOptions defining how to blend the brush pixels over the image pixels.

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

    Pen

    Gets the IBrush used for filling the destination image.

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

    Shape

    Gets the region that this processor applies to.

    Declaration
    public IPath Shape { 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