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

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

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

    Constructors

    | Improve this Doc View Source

    FillRegionProcessor(DrawingOptions, IBrush, Region)

    Initializes a new instance of the FillRegionProcessor class.

    Declaration
    public FillRegionProcessor(DrawingOptions options, IBrush brush, Region region)
    Parameters
    Type Name Description
    DrawingOptions options

    The graphics options.

    IBrush brush

    The details how to fill the region of interest.

    Region region

    The region of interest 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

    Region

    Gets the region that this processor applies to.

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

    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