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. When BorderMode.Soft is used, 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. When BorderMode.Hard is used, 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. The default value is BorderMode.Soft.
public EffectPropertyAccessor<BorderMode> BorderMode { get; }