Files
2026-04-10 22:50:51 +02:00

105 lines
5.2 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Drawing.Imaging
{
/// <summary>Specifies the format of the color data for each pixel in the image.</summary>
// Token: 0x02000042 RID: 66
[Token(Token = "0x2000042")]
public enum PixelFormat
{
/// <summary>The pixel data contains color-indexed values, which means the values are an index to colors in the system color table, as opposed to individual color values.</summary>
// Token: 0x04000192 RID: 402
[Token(Token = "0x4000192")]
Indexed = 65536,
/// <summary>The pixel data contains GDI colors.</summary>
// Token: 0x04000193 RID: 403
[Token(Token = "0x4000193")]
Gdi = 131072,
/// <summary>The pixel data contains alpha values that are not premultiplied.</summary>
// Token: 0x04000194 RID: 404
[Token(Token = "0x4000194")]
Alpha = 262144,
/// <summary>The pixel format contains premultiplied alpha values.</summary>
// Token: 0x04000195 RID: 405
[Token(Token = "0x4000195")]
PAlpha = 524288,
/// <summary>Reserved.</summary>
// Token: 0x04000196 RID: 406
[Token(Token = "0x4000196")]
Extended = 1048576,
/// <summary>The default pixel format of 32 bits per pixel. The format specifies 24-bit color depth and an 8-bit alpha channel.</summary>
// Token: 0x04000197 RID: 407
[Token(Token = "0x4000197")]
Canonical = 2097152,
/// <summary>The pixel format is undefined.</summary>
// Token: 0x04000198 RID: 408
[Token(Token = "0x4000198")]
Undefined = 0,
/// <summary>No pixel format is specified.</summary>
// Token: 0x04000199 RID: 409
[Token(Token = "0x4000199")]
DontCare = 0,
/// <summary>Specifies that the pixel format is 1 bit per pixel and that it uses indexed color. The color table therefore has two colors in it.</summary>
// Token: 0x0400019A RID: 410
[Token(Token = "0x400019A")]
Format1bppIndexed = 196865,
/// <summary>Specifies that the format is 4 bits per pixel, indexed.</summary>
// Token: 0x0400019B RID: 411
[Token(Token = "0x400019B")]
Format4bppIndexed = 197634,
/// <summary>Specifies that the format is 8 bits per pixel, indexed. The color table therefore has 256 colors in it.</summary>
// Token: 0x0400019C RID: 412
[Token(Token = "0x400019C")]
Format8bppIndexed = 198659,
/// <summary>The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.</summary>
// Token: 0x0400019D RID: 413
[Token(Token = "0x400019D")]
Format16bppGrayScale = 1052676,
/// <summary>Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components. The remaining bit is not used.</summary>
// Token: 0x0400019E RID: 414
[Token(Token = "0x400019E")]
Format16bppRgb555 = 135173,
/// <summary>Specifies that the format is 16 bits per pixel; 5 bits are used for the red component, 6 bits are used for the green component, and 5 bits are used for the blue component.</summary>
// Token: 0x0400019F RID: 415
[Token(Token = "0x400019F")]
Format16bppRgb565,
/// <summary>The pixel format is 16 bits per pixel. The color information specifies 32,768 shades of color, of which 5 bits are red, 5 bits are green, 5 bits are blue, and 1 bit is alpha.</summary>
// Token: 0x040001A0 RID: 416
[Token(Token = "0x40001A0")]
Format16bppArgb1555 = 397319,
/// <summary>Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.</summary>
// Token: 0x040001A1 RID: 417
[Token(Token = "0x40001A1")]
Format24bppRgb = 137224,
/// <summary>Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components. The remaining 8 bits are not used.</summary>
// Token: 0x040001A2 RID: 418
[Token(Token = "0x40001A2")]
Format32bppRgb = 139273,
/// <summary>Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.</summary>
// Token: 0x040001A3 RID: 419
[Token(Token = "0x40001A3")]
Format32bppArgb = 2498570,
/// <summary>Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied, according to the alpha component.</summary>
// Token: 0x040001A4 RID: 420
[Token(Token = "0x40001A4")]
Format32bppPArgb = 925707,
/// <summary>Specifies that the format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.</summary>
// Token: 0x040001A5 RID: 421
[Token(Token = "0x40001A5")]
Format48bppRgb = 1060876,
/// <summary>Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.</summary>
// Token: 0x040001A6 RID: 422
[Token(Token = "0x40001A6")]
Format64bppArgb = 3424269,
/// <summary>Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.</summary>
// Token: 0x040001A7 RID: 423
[Token(Token = "0x40001A7")]
Format64bppPArgb = 1851406,
/// <summary>The maximum value for this enumeration.</summary>
// Token: 0x040001A8 RID: 424
[Token(Token = "0x40001A8")]
Max = 15
}
}