Table of Contents

Interface IDeviceColorContextFactory

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Serves as a base interface for IDeviceContext and IDeviceEffectContext to provide the CreateColorContext methods.

public interface IDeviceColorContextFactory : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inherited Members
Extension Methods

Methods

CreateColorContext(DeviceColorSpace)

Creates a color context.

CreateColorContext(SimpleColorProfile)

Creates a color context from a simple color profile. It is only valid to use this with the Color Management Effect in 'Best' mode.

CreateColorContext(DxgiColorSpace)

Creates a color context from a DXGI color space type. It is only valid to use this with the Color Management Effect in 'Best' mode.

CreateColorContext(IColorContext)

Creates a color context from an IColorContext. The color space of the resulting context varies, see Remarks for more info.

CreateColorContext(ReadOnlySpan<byte>)

Creates a color context.