Table of Contents

Class ShadowEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Use the shadow effect to generate a shadow from the alpha channel of an image. The shadow is more opaque for higher alpha values and more transparent for lower alpha values. You can set the amount of blur and the color of the shadow.

For more information, see Shadow effect

public sealed class ShadowEffect : DeviceEffect<ShadowEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
ShadowEffect
Implements
Inherited Members
Extension Methods

Constructors

ShadowEffect(IDeviceEffectFactory)
ShadowEffect(IDeviceEffectFactory, IDeviceImage?, float, ColorRgba128Float?, ShadowOptimization)