Table of Contents

Class PdnDropShadowEffect.Props

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

Constructors

Props()

Properties

AlphaMode

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

Angle

Specifies the angle, in degrees, of the offset for the drop shadow. The value value is -45.

BlurRadius

Specifies the amount of blur to be applied to the alpha channel of the image.
The blur is implemented using a gaussian filter.
The range for this value is [0, 300], and the default value is 10.

Color

The color of the drop shadow. You must specify this color in straight alpha (not premultiplied).
The default value is { R=0, G=0, B=0, A=0.75 } (black at 75% opacity).

Distance

The distance, in pixels, that the shadow is offset by.
The range for this value is unbounded, and the default value is 10.

Input
Optimization

The level of performance optimization. The default value is Quality.

ShadowOnly

Specifies whether to draw the shadow only, or to also include the input. The input will be composited on top of the drop shadow.
The default value is false.

Methods

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