• Articles
  • API Documentation
Search Results for

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

    Class FillPathProcessor

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

    Inheritance
    object
    FillPathProcessor
    Implements
    IImageProcessor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing
    Assembly: SixLabors.ImageSharp.Drawing.dll
    Syntax
    public class FillPathProcessor : IImageProcessor

    Constructors

    | Edit this page View Source

    FillPathProcessor(DrawingOptions, Brush, IPath)

    Initializes a new instance of the FillPathProcessor class.

    Declaration
    public FillPathProcessor(DrawingOptions options, Brush brush, IPath path)
    Parameters
    Type Name Description
    DrawingOptions options

    The graphics options.

    Brush brush

    The details how to fill the region of interest.

    IPath path

    The logic path to be filled.

    Properties

    | Edit this page View Source

    Brush

    Gets the Brush used for filling the destination image.

    Declaration
    public Brush Brush { get; }
    Property Value
    Type Description
    Brush
    | Edit this page View Source

    Options

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

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

    Region

    Gets the logic path that this processor applies to.

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

    Methods

    | Edit this page View Source

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

    Creates a pixel specific IImageProcessor<TPixel> that is capable of executing the processing algorithm on an Image<TPixel>.

    Declaration
    public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle) where TPixel : unmanaged, IPixel<TPixel>
    Parameters
    Type Name Description
    Configuration configuration

    The configuration which allows altering default behaviour or extending the library.

    Image<TPixel> source

    The source image. Cannot be null.

    Rectangle sourceRectangle

    The Rectangle structure that specifies the portion of the image object to draw.

    Returns
    Type Description
    IImageProcessor<TPixel>

    The IImageProcessor<TPixel>

    Type Parameters
    Name Description
    TPixel

    The pixel type.

    Implements

    IImageProcessor
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX