Method SetColorContexts
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.dll
SetColorContexts(IBitmapEncoder, IReadOnlyList<IColorContext>)
Sets the IColorContext objects for the encoder.
public static void SetColorContexts(this IBitmapEncoder encoder, IReadOnlyList<IColorContext> colorContexts)
Parameters
encoder
IBitmapEncodercolorContexts
IReadOnlyList<IColorContext>
SetColorContexts(IBitmapEncoder, IReadOnlyList<IColorContext>, int, int)
Sets the IColorContext objects for the encoder.
public static void SetColorContexts(this IBitmapEncoder encoder, IReadOnlyList<IColorContext> colorContexts, int startIndex, int length)
Parameters
encoder
IBitmapEncodercolorContexts
IReadOnlyList<IColorContext>startIndex
intlength
int