Method CreatePalette
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.dll
CreatePalette(BitmapPaletteType, bool)
IPalette CreatePalette(BitmapPaletteType paletteType, bool addTransparentColor)
Parameters
paletteType
BitmapPaletteTypeaddTransparentColor
bool
Returns
CreatePalette(ReadOnlySpan<ColorBgra32>)
IPalette CreatePalette(ReadOnlySpan<ColorBgra32> colors)
Parameters
colors
ReadOnlySpan<ColorBgra32>