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 = "0x10ED130", Offset = "0x10EC130", VA = "0x1810ED130")] 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 = "0x10ED100", Offset = "0x10EC100", VA = "0x1810ED100")] 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 = "0x10ED120", Offset = "0x10EC120", VA = "0x1810ED120")] 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 = "0x10ED110", Offset = "0x10EC110", VA = "0x1810ED110")] 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 = "0x10ED200", Offset = "0x10EC200", VA = "0x1810ED200")] get { return 0L; } [Token(Token = "0x6000018")] [Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")] 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 = "0x10ECAA0", Offset = "0x10EBAA0", VA = "0x1810ECAA0")] 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 = "0x10ECE20", Offset = "0x10EBE20", VA = "0x1810ECE20")] 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 = "0x10ECC00", Offset = "0x10EBC00", VA = "0x1810ECC00")] 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 = "0x10ED3E0", Offset = "0x10EC3E0", VA = "0x1810ED3E0")] 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 = "0x10ED0F0", Offset = "0x10EC0F0", VA = "0x1810ED0F0")] 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 = "0x10ED0B0", Offset = "0x10EC0B0", VA = "0x1810ED0B0")] 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 = "0x10ED1E0", Offset = "0x10EC1E0", VA = "0x1810ED1E0")] 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 = "0x10ED0D0", Offset = "0x10EC0D0", VA = "0x1810ED0D0")] 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 = "0x10ECE20", Offset = "0x10EBE20", VA = "0x1810ECE20")] 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 = "0x10EC880", Offset = "0x10EB880", VA = "0x1810EC880", 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 = "0x10ECDA0", Offset = "0x10EBDA0", VA = "0x1810ECDA0", 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 = "0x10ECE30", Offset = "0x10EBE30", VA = "0x1810ECE30", Slot = "3")] public override string ToString() { return null; } // Token: 0x06000025 RID: 37 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000025")] [Address(RVA = "0x10EC730", Offset = "0x10EB730", VA = "0x1810EC730")] private static void CheckRGBValues(int red, int green, int blue) { } // Token: 0x06000026 RID: 38 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000026")] [Address(RVA = "0x10EC7F0", Offset = "0x10EB7F0", VA = "0x1810EC7F0")] private static ArgumentException CreateColorArgumentException(int value, string color) { return null; } // Token: 0x06000027 RID: 39 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000027")] [Address(RVA = "0x10EC610", Offset = "0x10EB610", VA = "0x1810EC610")] 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; } }