• 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 FillPathProcessor

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

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

    Constructors

    | Improve this Doc View Source

    FillPathProcessor(DrawingOptions, IBrush, IPath)

    Initializes a new instance of the FillPathProcessor class.

    Declaration
    public FillPathProcessor(DrawingOptions options, IBrush brush, IPath shape)
    Parameters
    Type Name Description
    DrawingOptions options

    The graphics options.

    IBrush brush

    The details how to fill the region of interest.

    IPath shape

    The shape to be filled.

    Properties

    | Improve this Doc View Source

    Brush

    Gets the IBrush used for filling the destination image.

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

    Options

    Gets the 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

    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