Table of Contents

Enum SampleMapEdgeMode

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Framework.dll

Specifies how to treat out-of-bounds sampling coordinates.

public enum SampleMapEdgeMode

Fields

Clamp = 0

Sample coordinates that are out-of-bounds will be clamped to the edge of the input rectangle.

Wrap = 1

Sample coordinates that are out-of-bounds will be wrapped around to the other side of the input rectangle.

Mirror = 2

Sample coordinates that are out-of-bounds will be mirrored back inside of the input rectangle, as if the edges were mirrors.

Transparent = 3

Sample coordinates that are out-of-bounds of the input rectangle will be emitted as transparent.