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.
When set to BorderMode.Soft, the effect pads the image with transparent black pixels as it interpolates, resulting in a soft edge.
When set to BorderMode.Hard, the effect clamps the output to the size of the input image.
The default value is BorderMode.Soft.

public EffectPropertyAccessor<BorderMode> BorderMode { get; }

Property Value

EffectPropertyAccessor<BorderMode>