blob: 24dcf25d444a4b46acc6f88724ec98bafc0ef983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
//
// System.Drawing.Imaging.ColorPalette.cs
//
// (C) 2002 Ximian, Inc. http://www.ximian.com
//
// Author:
// Miguel de Icaza (miguel@ximian.com
//
using System;
namespace System.Drawing.Imaging
{
public sealed class ColorPalette {
// 0x1: the color values in the array contain alpha information
// 0x2: the color values are grayscale values.
// 0x4: the colors in the array are halftone values.
int flags;
Color [] entries;
//
// There is no public constructor, this will be used somewhere in the
// drawing code
//
internal ColorPalette ()
{
flags = 0;
entries = new Color [0];
}
public Color [] Entries {
get {
return entries;
}
}
public int Flags {
get {
return flags;
}
}
}
}
|