Table of Contents

Class CompositeEffect

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

Use the composite effect to combine 2 or more images. This effect has 13 different composite modes. The composite effect accepts 2 or more inputs. When you specify 2 images, destination is the first input (index 0) and the source is the second input (index 1). If you specify more than 2 inputs the images are composited starting with the first input and the second and so on.

This effect implements all of the modes using the blending unit of the graphics processing unit (GPU).

For more information, see Composite effect

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

Constructors

CompositeEffect(IDeviceEffectFactory)
CompositeEffect(IDeviceEffectFactory, IDeviceImage, IDeviceImage, CompositeMode)
CompositeEffect(IDeviceEffectFactory, IDeviceImage, ReadOnlySpan<IDeviceImage>, CompositeMode)