15 references to PaletteType
System.Drawing.Common (15)
GlobalUsings.cs (1)
39global using PaletteType = System.Drawing.Imaging.PaletteType;
System\Drawing\Bitmap.cs (6)
402/// is <see cref="PaletteType.Custom"/> or <see cref="PaletteType.FixedBlackAndWhite"/>. 420/// <see cref="ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> performs a nearest-color 449PaletteType paletteType = PaletteType.Custom, 510ConvertFormat(format, DitherType.ErrorDiffusion, PaletteType.Custom, palette, .25f);
System\Drawing\Imaging\ColorPalette.cs (4)
46public ColorPalette(PaletteType fixedPaletteType) 56/// <inheritdoc cref="InitializePalette(PaletteType, int, bool, IPointer{GpBitmap}?)"/> 58InitializePalette((PaletteType)GdiPlus.PaletteType.PaletteTypeOptimal, colors, useTransparentColor, bitmap); 96PaletteType fixedPaletteType,
System\Drawing\Imaging\DitherType.cs (4)
16/// <see cref="Bitmap.ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> 17/// method. This algorithm can be used with any palette other than <see cref="PaletteType.Custom"/>. 24/// <see cref="Bitmap.ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> method. 67/// <see cref="Bitmap.ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> method.