Table of Contents

Class ColorMatrixEffect

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

Use the color matrix effect to alter the RGBA values of a bitmap.

You can use this effect to:

  • Remove a color channel from an image.
  • Reduce the color in an image.
  • Swap color channels.
  • Combine color channels.

Many built-in effects are specializations of color matrix that are optimized for the intended use of the effects. Examples include saturation, hue rotate, sepia, and temperature and tint.

For more information, see Color matrix effect.
public sealed class ColorMatrixEffect : DeviceEffect<ColorMatrixEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IInternalImpl, IObjectRef, IIsDisposed, IDisposable
Inheritance
ColorMatrixEffect
Implements
Inherited Members
Extension Methods

Constructors

ColorMatrixEffect(IDeviceEffectFactory)
ColorMatrixEffect(IDeviceEffectFactory, IDeviceImage, in Matrix5x4Float, ColorMatrixAlphaMode, bool)