Property BorderMode
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
BorderMode
Gets or sets the border mode, which determines how samples outside the bounds of the input image
are calculated.
BorderMode.Hard will clamp the borders of the input image.
BorderMode.Soft will cause pixels outside the image to be sampled as transparent black.
The default is BorderMode.Hard.
public DynamicImage.ValuePropertyAccessor<BorderMode> BorderMode { get; }