Class PremultiplyEffect
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
Use this effect to convert an image from unpremultiplied alpha to premultiplied alpha.
The effect replaces each input pixel P = { R, G, B, A }
with P' = { R * A, G * A, B * A, A }
in the output.
For more information, see Premultiply effect
public sealed class PremultiplyEffect : DeviceEffect<PremultiplyEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
- Inheritance
-
PremultiplyEffect
- Implements
- Inherited Members
- Extension Methods