Table of Contents

Class PdnOilPaintingEffect.Props

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Gpu.dll
public sealed class PdnOilPaintingEffect.Props : CustomEffectProperties
Inheritance
PdnOilPaintingEffect.Props
Inherited Members

Constructors

Props()

Properties

AlphaMode

Specifies the alpha mode for the input and output. The default value is Premultiplied.

BrushSize

Specifies the radius, or "brush size", that is used when gathering samples for the effect rendering.
The range is [0, 50], and the default value is 10.

EdgeMode

Specifies how samples outside the bounds of the input image are calculated.
If this value is Transparent, the effect pads the image with transparent pixels as it applies the kernel, resulting in a soft edge. The output will be larger than the input by approximately the blur radius (BrushSize), in pixels.
If set to another edge mode, the effect clamps the output to the size of the input image.
The default value is Clamp.

Granularity

Specifies the number of histogram bins/buckets that are used when rendering the effect.
The range is [4, 256], the default is 51.

Input
KernelShape

Specifies the kernel shape to use when gathering pixels.
The default value is Circle.

Methods

CreateImpl()
GetAuthor()
GetCategory()
GetDescription()
GetDisplayName()