using System; using System.ComponentModel; using Cpp2IlInjected; namespace System.Drawing { /// Represents an ARGB (alpha, red, green, blue) color. // Token: 0x02000009 RID: 9 [Token(Token = "0x2000009")] [Editor] [TypeConverter] [Serializable] public struct Color { /// Gets the name of this . /// The name of this . // Token: 0x17000002 RID: 2 // (get) Token: 0x06000013 RID: 19 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000002")] public string Name { [Token(Token = "0x6000013")] [Address(RVA = "0x67E630", Offset = "0x67D430", VA = "0x18067E630")] get { return null; } } /// Gets a value indicating whether this structure is a predefined color. Predefined colors are represented by the elements of the enumeration. /// /// if this was created from a predefined color by using either the method or the method; otherwise, . // Token: 0x17000003 RID: 3 // (get) Token: 0x06000014 RID: 20 RVA: 0x00002070 File Offset: 0x00000270 [Token(Token = "0x17000003")] public bool IsKnownColor { [Token(Token = "0x6000014")] [Address(RVA = "0x67E600", Offset = "0x67D400", VA = "0x18067E600")] get { return default(bool); } } /// Gets a value indicating whether this structure is a system color. A system color is a color that is used in a Windows display element. System colors are represented by elements of the enumeration. /// /// if this was created from a system color by using either the method or the method; otherwise, . // Token: 0x17000004 RID: 4 // (get) Token: 0x06000015 RID: 21 RVA: 0x00002088 File Offset: 0x00000288 [Token(Token = "0x17000004")] public bool IsSystemColor { [Token(Token = "0x6000015")] [Address(RVA = "0x67E620", Offset = "0x67D420", VA = "0x18067E620")] get { return default(bool); } } /// Gets a value indicating whether this structure is a named color or a member of the enumeration. /// /// if this was created by using either the method or the method; otherwise, . // Token: 0x17000005 RID: 5 // (get) Token: 0x06000016 RID: 22 RVA: 0x000020A0 File Offset: 0x000002A0 [Token(Token = "0x17000005")] public bool IsNamedColor { [Token(Token = "0x6000016")] [Address(RVA = "0x67E610", Offset = "0x67D410", VA = "0x18067E610")] get { return default(bool); } } // Token: 0x17000006 RID: 6 // (get) Token: 0x06000017 RID: 23 RVA: 0x000020B8 File Offset: 0x000002B8 // (set) Token: 0x06000018 RID: 24 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x17000006")] internal long Value { [Token(Token = "0x6000017")] [Address(RVA = "0x67E700", Offset = "0x67D500", VA = "0x18067E700")] get { return 0L; } [Token(Token = "0x6000018")] [Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")] set { } } /// Creates a structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits. /// The alpha component. Valid values are 0 through 255. /// The red component. Valid values are 0 through 255. /// The green component. Valid values are 0 through 255. /// The blue component. Valid values are 0 through 255. /// The that this method creates. /// /// , , , or is less than 0 or greater than 255. // Token: 0x06000019 RID: 25 RVA: 0x000020D0 File Offset: 0x000002D0 [Token(Token = "0x6000019")] [Address(RVA = "0x67DFA0", Offset = "0x67CDA0", VA = "0x18067DFA0")] public static Color FromArgb(int alpha, int red, int green, int blue) { return default(Color); } /// Gets the 32-bit ARGB value of this structure. /// The 32-bit ARGB value of this . // Token: 0x0600001A RID: 26 RVA: 0x000020E8 File Offset: 0x000002E8 [Token(Token = "0x600001A")] [Address(RVA = "0x67E320", Offset = "0x67D120", VA = "0x18067E320")] public int ToArgb() { return 0; } /// Creates a structure from the specified predefined color. /// An element of the enumeration. /// The that this method creates. // Token: 0x0600001B RID: 27 RVA: 0x00002100 File Offset: 0x00000300 [Token(Token = "0x600001B")] [Address(RVA = "0x67E100", Offset = "0x67CF00", VA = "0x18067E100")] public static Color FromKnownColor(KnownColor color) { return default(Color); } /// Tests whether two specified structures are equivalent. /// The that is to the left of the equality operator. /// The that is to the right of the equality operator. /// /// if the two structures are equal; otherwise, . // Token: 0x0600001C RID: 28 RVA: 0x00002118 File Offset: 0x00000318 [Token(Token = "0x600001C")] [Address(RVA = "0x67E8E0", Offset = "0x67D6E0", VA = "0x18067E8E0")] public static bool operator ==(Color left, Color right) { return default(bool); } /// Specifies whether this structure is uninitialized. /// This property returns if this color is uninitialized; otherwise, . // Token: 0x17000007 RID: 7 // (get) Token: 0x0600001D RID: 29 RVA: 0x00002130 File Offset: 0x00000330 [Token(Token = "0x17000007")] public bool IsEmpty { [Token(Token = "0x600001D")] [Address(RVA = "0x67E5F0", Offset = "0x67D3F0", VA = "0x18067E5F0")] get { return default(bool); } } /// Gets the alpha component value of this structure. /// The alpha component value of this . // Token: 0x17000008 RID: 8 // (get) Token: 0x0600001E RID: 30 RVA: 0x00002148 File Offset: 0x00000348 [Token(Token = "0x17000008")] public byte A { [Token(Token = "0x600001E")] [Address(RVA = "0x67E5B0", Offset = "0x67D3B0", VA = "0x18067E5B0")] get { return 0; } } /// Gets the red component value of this structure. /// The red component value of this . // Token: 0x17000009 RID: 9 // (get) Token: 0x0600001F RID: 31 RVA: 0x00002160 File Offset: 0x00000360 [Token(Token = "0x17000009")] public byte R { [Token(Token = "0x600001F")] [Address(RVA = "0x67E6E0", Offset = "0x67D4E0", VA = "0x18067E6E0")] get { return 0; } } /// Gets the green component value of this structure. /// The green component value of this . // Token: 0x1700000A RID: 10 // (get) Token: 0x06000020 RID: 32 RVA: 0x00002178 File Offset: 0x00000378 [Token(Token = "0x1700000A")] public byte G { [Token(Token = "0x6000020")] [Address(RVA = "0x67E5D0", Offset = "0x67D3D0", VA = "0x18067E5D0")] get { return 0; } } /// Gets the blue component value of this structure. /// The blue component value of this . // Token: 0x1700000B RID: 11 // (get) Token: 0x06000021 RID: 33 RVA: 0x00002190 File Offset: 0x00000390 [Token(Token = "0x1700000B")] public byte B { [Token(Token = "0x6000021")] [Address(RVA = "0x67E320", Offset = "0x67D120", VA = "0x18067E320")] get { return 0; } } /// Tests whether the specified object is a structure and is equivalent to this structure. /// The object to test. /// /// if is a structure equivalent to this structure; otherwise, . // Token: 0x06000022 RID: 34 RVA: 0x000021A8 File Offset: 0x000003A8 [Token(Token = "0x6000022")] [Address(RVA = "0x67DD80", Offset = "0x67CB80", VA = "0x18067DD80", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Returns a hash code for this structure. /// An integer value that specifies the hash code for this . // Token: 0x06000023 RID: 35 RVA: 0x000021C0 File Offset: 0x000003C0 [Token(Token = "0x6000023")] [Address(RVA = "0x67E2A0", Offset = "0x67D0A0", VA = "0x18067E2A0", Slot = "2")] public override int GetHashCode() { return 0; } /// Converts this structure to a human-readable string. /// A string that is the name of this , if the is created from a predefined color by using either the method or the method; otherwise, a string that consists of the ARGB component names and their values. // Token: 0x06000024 RID: 36 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000024")] [Address(RVA = "0x67E330", Offset = "0x67D130", VA = "0x18067E330", Slot = "3")] public override string ToString() { return null; } // Token: 0x06000025 RID: 37 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000025")] [Address(RVA = "0x67DC30", Offset = "0x67CA30", VA = "0x18067DC30")] private static void CheckRGBValues(int red, int green, int blue) { } // Token: 0x06000026 RID: 38 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000026")] [Address(RVA = "0x67DCF0", Offset = "0x67CAF0", VA = "0x18067DCF0")] private static ArgumentException CreateColorArgumentException(int value, string color) { return null; } // Token: 0x06000027 RID: 39 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000027")] [Address(RVA = "0x67DB10", Offset = "0x67C910", VA = "0x18067DB10")] private static void CheckARGBValues(int alpha, int red, int green, int blue) { } // Token: 0x04000004 RID: 4 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000004")] private long value; // Token: 0x04000005 RID: 5 [FieldOffset(Offset = "0x8")] [Token(Token = "0x4000005")] internal short state; // Token: 0x04000006 RID: 6 [FieldOffset(Offset = "0xA")] [Token(Token = "0x4000006")] internal short knownColor; // Token: 0x04000007 RID: 7 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000007")] internal string name; } }