Muokkaa

Jaa


ColorPalette Constructors

Definition

Overloads

ColorPalette(Color[])

Creates a custom color palette.

ColorPalette(PaletteType)

Creates a standard color palette.

ColorPalette(Color[])

Source:
ColorPalette.cs
Source:
ColorPalette.cs

Creates a custom color palette.

public:
 ColorPalette(... cli::array <System::Drawing::Color> ^ customColors);
public ColorPalette (params System.Drawing.Color[] customColors);
new System.Drawing.Imaging.ColorPalette : System.Drawing.Color[] -> System.Drawing.Imaging.ColorPalette
Public Sub New (ParamArray customColors As Color())

Parameters

customColors
Color[]

Color entries for the palette.

Applies to

ColorPalette(PaletteType)

Source:
ColorPalette.cs
Source:
ColorPalette.cs

Creates a standard color palette.

public:
 ColorPalette(System::Drawing::Imaging::PaletteType fixedPaletteType);
public ColorPalette (System.Drawing.Imaging.PaletteType fixedPaletteType);
new System.Drawing.Imaging.ColorPalette : System.Drawing.Imaging.PaletteType -> System.Drawing.Imaging.ColorPalette
Public Sub New (fixedPaletteType As PaletteType)

Parameters

fixedPaletteType
PaletteType

The palette type.

Applies to