• Articles
  • API Documentation
Search Results for

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

    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

    | Improve this Doc 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 image this method extends.

    Color color

    The color.

    RectangleF rectangle

    The rectangle defining the region to fill.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    | Improve this Doc 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 image this method extends.

    DrawingOptions options

    The drawing options.

    Color color

    The color.

    RectangleF rectangle

    The rectangle defining the region to fill.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    | Improve this Doc View Source

    Clear(IImageProcessingContext, DrawingOptions, IBrush, 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, IBrush brush, RectangleF rectangle)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The image this method extends.

    DrawingOptions options

    The drawing options.

    IBrush brush

    The brush.

    RectangleF rectangle

    The rectangle defining the region to fill.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    | Improve this Doc View Source

    Clear(IImageProcessingContext, IBrush, 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, IBrush brush, RectangleF rectangle)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The image this method extends.

    IBrush brush

    The brush.

    RectangleF rectangle

    The rectangle defining the region to fill.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX