ColorPalette 构造函数

定义

重载

ColorPalette(Color[])
ColorPalette(PaletteType)

ColorPalette(Color[])

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

参数

entries
Color[]

适用于

ColorPalette(PaletteType)

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

参数

paletteType
PaletteType

适用于