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

    Adds extensions that allow the flood filling of rectangle outlines without blending.

    Inheritance
    object
    ClearRectangleExtensions
    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
    Assembly: SixLabors.ImageSharp.Drawing.dll
    Syntax
    public static class ClearRectangleExtensions

    Methods

    | Edit this page View Source

    Clear(IImageProcessingContext, Color, RectangleF)

    Flood fills the image in the rectangle of the provided rectangle with the specified color without any blending.

    Declaration
    public static IImageProcessingContext Clear(this IImageProcessingContext source, Color color, RectangleF rectangle)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The source image processing context.

    Color color

    The color.

    RectangleF rectangle

    The rectangle defining the region to fill.

    Returns
    Type Description
    IImageProcessingContext

    The IImageProcessingContext to allow chaining of operations.

    | Edit this page View Source

    Clear(IImageProcessingContext, Brush, RectangleF)

    Flood fills the image in the rectangle of the provided rectangle with the specified brush without any blending.

    Declaration
    public static IImageProcessingContext Clear(this IImageProcessingContext source, Brush brush, RectangleF rectangle)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The source image processing context.

    Brush brush

    The brush.

    RectangleF rectangle

    The rectangle defining the region to fill.

    Returns
    Type Description
    IImageProcessingContext

    The IImageProcessingContext to allow chaining of operations.

    | Edit this page View Source

    Clear(IImageProcessingContext, DrawingOptions, Color, RectangleF)

    Flood fills the image in the rectangle of the provided rectangle with the specified color without any blending.

    Declaration
    public static IImageProcessingContext Clear(this IImageProcessingContext source, DrawingOptions options, Color color, RectangleF rectangle)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The source image processing context.

    DrawingOptions options

    The drawing options.

    Color color

    The color.

    RectangleF rectangle

    The rectangle defining the region to fill.

    Returns
    Type Description
    IImageProcessingContext

    The IImageProcessingContext to allow chaining of operations.

    | Edit this page View Source

    Clear(IImageProcessingContext, DrawingOptions, Brush, RectangleF)

    Flood fills the image at the given rectangle bounds with the specified brush without any blending.

    Declaration
    public static IImageProcessingContext Clear(this IImageProcessingContext source, DrawingOptions options, Brush brush, RectangleF rectangle)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The source image processing context.

    DrawingOptions options

    The drawing options.

    Brush brush

    The brush.

    RectangleF rectangle

    The rectangle defining the region to fill.

    Returns
    Type Description
    IImageProcessingContext

    The IImageProcessingContext to allow chaining of operations.

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