This documentation is for the old version. Go to the latest Graphics Mill docs

ColorPalette Constructor

Creates and initializes new ColorPalette class instance.

Creates and initializes new ColorPalette class instance.

Overload List

Name Description
Public method ColorPalette(ColorPalette)

Creates and initializes new ColorPalette class instance. The palette is copied from specified System.Drawing.Imaging.ColorPalette object.

Public method ColorPalette(Int32, Boolean)

Creates and initializes new ColorPalette class instance. You can specify how much entries the palette should have.

Public method ColorPalette(Bitmap, Boolean)

Creates and initializes new ColorPalette class instance. Colors of this palette are generated from the specified bitmap.

Public method ColorPalette(ColorPaletteType, Boolean)

Creates and initializes new ColorPalette class instance. You can set palette type here.

Public method ColorPalette(RgbColor[], Boolean)

Creates and initializes new ColorPalette class instance. You can initialize palette with given array entries here.

Public method ColorPalette(Bitmap, Int32, Boolean)

Creates and initializes new ColorPalette class instance. Colors of this palette are generated from the specified bitmap.

Public method ColorPalette(Bitmap, Int32, ColorQuantizationAlgorithm, Int32)

Creates and initializes a new ColorPalette instance. Colors of this palette are generated from the specified bitmap.

Public method ColorPalette(Bitmap, Int32, Boolean, ColorQuantizationAlgorithm)

Creates and initializes a new ColorPalette instance. Colors of this palette are generated from the specified bitmap.

See Also

Reference