Table of Contents

Class LuminosityTableTransferEffect

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

Similar to TableTransferEffect and TableTransferEffect2, but adjusts luminosity instead of RGBA. This is used by Paint.NET's Curves adjustment effect. Use the the FunctionInterpolator class and the CreateLookupTable<TResult>(IFunctionInterpolator, int, double, double) extension method to create a lookup table for a given transfer function.

public sealed class LuminosityTableTransferEffect : CustomEffect<LuminosityTableTransferEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
LuminosityTableTransferEffect
Implements
Inherited Members

Constructors

LuminosityTableTransferEffect(IDeviceEffectFactory)
LuminosityTableTransferEffect(IDeviceEffectFactory, IDeviceImage, IReadOnlyList<float>, LuminosityTableTransferAlphaMode)
LuminosityTableTransferEffect(IDeviceEffectFactory, IDeviceImage, ReadOnlySpan<float>, LuminosityTableTransferAlphaMode)