Table of Contents

Enum WrapMode

Namespace
SixLabors.ImageSharp.Drawing.Processing
Assembly
SixLabors.ImageSharp.Drawing.dll

Defines how an ImageBrush samples beyond its source region along a single axis.

public enum WrapMode

Fields

Clamp = 3

The source region is not repeated; the nearest edge pixel is sampled for coordinates outside it.

Mirror = 2

The source region is tiled, mirroring every other repetition.

None = 0

The source region is not repeated; pixels outside it are left transparent.

Repeat = 1

The source region is tiled, repeating edge-to-edge.