Enum BorderWrappingMode
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Convolution
- Assembly
- SixLabors.ImageSharp.dll
Wrapping mode for the border pixels in convolution processing.
public enum BorderWrappingMode : byte
Fields
Bounce = 3
Bounce off the border: fedcb|abcdefgh|gfedcb
Mirror = 2
Mirror the last few border values: fedcba|abcdefgh|hgfedcb
Repeat = 0
Repeat the border pixel value: aaaaaa|abcdefgh|hhhhhhh
Wrap = 1
Take values from the opposite edge: cdefgh|abcdefgh|abcdefg