Table of Contents

Method CreateCustomPalette

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

CreateCustomPalette(IImagingFactory, IReadOnlyList<ColorBgra32>)

public static IPalette CreateCustomPalette(this IImagingFactory factory, IReadOnlyList<ColorBgra32> colors)

Parameters

factory IImagingFactory
colors IReadOnlyList<ColorBgra32>

Returns

IPalette

CreateCustomPalette(IImagingFactory, IReadOnlyList<ColorBgra32>, int, int)

public static IPalette CreateCustomPalette(this IImagingFactory factory, IReadOnlyList<ColorBgra32> colors, int startIndex, int length)

Parameters

factory IImagingFactory
colors IReadOnlyList<ColorBgra32>
startIndex int
length int

Returns

IPalette