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 set to BorderMode.Soft, the effect pads the image with transparent black pixels as it applies
the blur kernel, resulting in a soft edge.
When set to BorderMode.Hard, the effect clamps the output to the size of the input image. When the
effect applies the blur kernel, it extends the input image with a mirror-type border transform for
samples outside of the input bounds.
The default value is BorderMode.Soft.
public EffectPropertyAccessor<BorderMode> BorderMode { get; }