Table of Contents

Namespace SixLabors.ImageSharp.Drawing.Processing

Classes

Brush

Represents a logical configuration of a brush which can be used to source pixel colors.

BrushRenderer<TPixel>

Renders a Brush against individual coverage scanlines.

BrushWorkspace<TPixel>

Worker-local scratch workspace used by prepared brushes during row composition.

Brushes

A collection of methods for creating generic brushes.

DrawingCanvas

Represents a drawing canvas over a frame target.

DrawingCanvasFactoryExtensions

Extension methods for creating drawing canvas instances over ImageSharp image frames.

DrawingCanvas<TPixel>

A drawing canvas over a frame target.

DrawingOptions

Provides options for influencing drawing operations, combining graphics rendering settings, shape fill-rule behavior, and an optional coordinate transform.

DrawingOptionsDefaultsExtensions

Adds extensions that help working with DrawingOptions.

EllipticGradientBrush

Provides an implementation of a brush for painting elliptical gradients. The ellipse is defined by a center point, a point on the longest axis, and the ratio between the longest and shortest axes.

GradientBrush

Base class for Gradient brushes

ImageBrush

The untyped base class for image brushes, used to support non-generic brush references in drawing contexts.

ImageBrush<TPixel>

Provides an implementation of an image brush for painting images within areas.

LinearGradientBrush

Provides a brush that paints linear gradients within an area. Supports both classic two-point gradients and three-point (rotated) gradients.

PaintExtensions

Adds image-processing extensions that paint each frame through DrawingCanvas.

PaintProcessor

Defines the image processor used by Paint(IImageProcessingContext, DrawingOptions, CanvasAction) to execute a canvas callback for each image frame.

PathGradientBrush

Provides an implementation of a brush for painting gradients between multiple color positions in 2D coordinates.

PatternBrush

Provides an implementation of a pattern brush for painting patterns.

PatternPen

Defines a pen that can apply a pattern to a line with a set brush and thickness

Pen

The base class for pens that can apply a pattern to a line with a set brush and thickness

Pens

Contains a collection of common pen styles.

RadialGradientBrush

A radial gradient brush defined by either one circle or two circles. When one circle is provided, the gradient parameter is the distance from the center divided by the radius. When two circles are provided, the gradient parameter is computed along the family of circles interpolating between the start and end circles.

RasterizerDefaultsExtensions

Adds extensions that allow configuring the drawing backend implementation.

RecolorBrush

Provides an implementation of a brush that can recolor an image

RichTextOptions

Provides configuration options for rendering and shaping of rich text.

RichTextRun

Represents a run of drawable text spanning a series of graphemes within a string.

ShapeOptions

Provides options for controlling how vector shapes are interpreted during rasterization, including the fill-rule intersection mode and boolean clipping operations.

SolidBrush

Provides an implementation of a solid brush for painting solid color areas.

SolidPen

Defines a pen that can apply a pattern to a line with a set brush and thickness.

StrokeOptions

Provides configuration options for geometric stroke generation.

SweepGradientBrush

Provides an implementation of a brush for painting sweep (conic) gradients within areas. Angles increase counter-clockwise from +X on the design grid.

Structs

ColorStop

A struct that defines a single color stop.

PenOptions

Provides a set of configurations options for pens.

Enums

GradientRepetitionMode

Modes to repeat a gradient.

Delegates

CanvasAction

Represents the per-frame painting callback executed by Paint(IImageProcessingContext, CanvasAction).