Class ColorPalette
Defines an array of colors that make up a color palette.
Inherited Members
Namespace: DRIT.Drawing.Imaging
Assembly: DRIT.Drawing.dll
Syntax
public sealed class ColorPalette
Constructors
ColorPalette()
Initializes a new ColorPalette with an empty entries array.
Declaration
public ColorPalette()
ColorPalette(int, Color[])
Initializes a new ColorPalette with the specified flags and entries.
Declaration
public ColorPalette(int flags, Color[] entries)
Parameters
| Type | Name | Description |
|---|---|---|
| int | flags | The palette flags. |
| Color[] | entries | The color entries for the palette. |
Properties
Entries
Gets or sets the array of colors in the palette.
Declaration
public Color[] Entries { get; set; }
Property Value
| Type | Description |
|---|---|
| Color[] |
Flags
Gets or sets the flags for the palette.
Declaration
public int Flags { get; set; }
Property Value
| Type | Description |
|---|---|
| int |