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
IImagingFactorycolors
IReadOnlyList<ColorBgra32>
Returns
CreateCustomPalette(IImagingFactory, IReadOnlyList<ColorBgra32>, int, int)
public static IPalette CreateCustomPalette(this IImagingFactory factory, IReadOnlyList<ColorBgra32> colors, int startIndex, int length)
Parameters
factory
IImagingFactorycolors
IReadOnlyList<ColorBgra32>startIndex
intlength
int