Table of Contents

Property BorderMode

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

BorderMode

The mode used to calculate the border of the image, soft or hard. The default value is BorderMode.Soft.
If set to BorderMode.Soft, the effect pads the input image with transparent black pixels for samples outside of the input bounds when it applies the convolution kernel. This creates a soft edge for the image, and in the process expands the output bitmap by the size of the kernel.
If set to BorderMode.Hard, the effect extends the input image with a mirror-type border transform for samples outside of the input bounds. The size of the output bitmap is equal to the size of the input bitmap.

public EffectPropertyAccessor<BorderMode> BorderMode { get; }

Property Value

EffectPropertyAccessor<BorderMode>